Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When an issue's assignee changes, the plugin should use the connected user's MM handle in the resulting post #943

Open
underdark456 opened this issue May 16, 2023 · 6 comments
Assignees
Labels
Difficulty/1:Easy Easy ticket Good First Issue Suitable for first-time contributors Help Wanted Community help wanted Tech/Go Type/Enhancement New feature or improvement of existing feature Type/Question Further information is requested Up For Grabs Ready for help from the community. Removed when someone volunteers
Milestone

Comments

@underdark456
Copy link

Hey,
Is there any way to edit the post being sent to mattermost? I need the user who is in the Assignee field to be mentioned.

@mickmister mickmister added Triage Type/Question Further information is requested labels May 16, 2023
@mickmister
Copy link
Contributor

Hi @underdark456, this post is not editable at the moment. At every possible point in the plugin, we swap out the Jira name with the Mattermost username, which would mention the Mattermost user. If a given post shows the first&last name of a Jira user, that means we got the information just like that from Jira, and it's not unique enough to cross-reference to a connected user in Mattermost.

If a given user sets their Mattermost mention settings to include the last name of the Jira user, they will get a mention in Mattermost. https://docs.mattermost.com/channels/mention-people.html#words-that-trigger-mentions Does this solve your issue?

@mickmister mickmister removed the Triage label May 17, 2023
@underdark456
Copy link
Author

Yep it's working, I get message like:
john.doe updated status from "Testing" to "Ready to release" on story [TEST-1361: test](https://jira.test.test/browse/TEST-1361).

But what about Assignee? Can I somehow mention person in that filed?

@mickmister mickmister changed the title Way to edit post When an issue's assignee changes, the plugin should use the connected user's MM handle in the resulting post May 18, 2023
@mickmister
Copy link
Contributor

@underdark456 If I understand correctly, you're wanting it to say:

@john.doe updated assignee from @person1 to @person2 on...

I'm not 100% sure this is possible, but will open the issue up to the community to investigate 👍

@mickmister mickmister added Help Wanted Community help wanted Up For Grabs Ready for help from the community. Removed when someone volunteers Good First Issue Suitable for first-time contributors Tech/Go Difficulty/1:Easy Easy ticket Type/Enhancement New feature or improvement of existing feature labels May 18, 2023
@underdark456
Copy link
Author

Hey, any news?

@jatin33
Copy link

jatin33 commented Jun 17, 2023

Do we want something like what Sentry Slack integration does for assigning an owner for an issue?
Let me know your thoughts on this
Screenshot 2023-06-17 at 9 02 26 PM

@Kshitij-Katiyar Kshitij-Katiyar added this to the v4.3.0 milestone Sep 19, 2024
@Kshitij-Katiyar
Copy link
Contributor

Hey @wiggin77, Do you think we should pick this feature request? This would take some time to implement.

@raghavaggarwal2308 raghavaggarwal2308 self-assigned this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty/1:Easy Easy ticket Good First Issue Suitable for first-time contributors Help Wanted Community help wanted Tech/Go Type/Enhancement New feature or improvement of existing feature Type/Question Further information is requested Up For Grabs Ready for help from the community. Removed when someone volunteers
Projects
None yet
Development

No branches or pull requests

5 participants