mattermost-plugin-jira
mattermost-plugin-jira copied to clipboard
When an issue's assignee changes, the plugin should use the connected user's MM handle in the resulting post
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.
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?
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?
@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 :+1:
Hey, any news?
Do we want something like what Sentry Slack integration does for assigning an owner for an issue?
Let me know your thoughts on this