We utilize Automation for Jira rather extensively, primarily as a tool to alert various teams/users in Slack of tickets that matter to them when they have been created/moved/updated. The Slack messages often include the description or last comment.
With the recent GDPR changes for cloud, any @mentions that are used now appear as the accountid within Slack. We recently found the jsonEncode property which took care of translating certain characters that were causing errors in the automation... is there any such thing for translating accountid's back into display names? Especially when embedded within comments? The stock Jira notifications are able to do this - hoping there's a solution being developed, or maybe it already exists but I haven't found it yet?
Try reaching out to plugin vendor code barrel. They may have some kind of workaround. It's hard to capture the user in the mentions because it's not a field
Thank you. I had done just that and they replied this am that the fix is due for shipment in the coming days.
The problem right now is that basically when you access a text field or comment, you get back Jira's wiki markup, which has user mentions in the weird accountId format that you mentioned.
When we ship the above, you'll be able to reference a field's text or html rendered representation. So you'll be able to reference comment.body.text or comment.body.html (or issue.description.html etc) in your Slack message, which will then show the user's display name instead of the account id reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.