Hello,
We use Jira for test management (with the XRAY plugin). We are now looking into taking advantage of Automation for Jira to make data more available in Slack.
Request from the team has been that whenever a ticket type "Test Execution" is transitioned to "Resolved", the automation rule would send a message to the Slack channel, and it would list the linked issues in that ticket.
I understand that the trigger for this event would be that ticket matching the correct type is transitioned to a certain status, but how would you add the listing of the linked tickets to the automation rule?
I've played around with the message customisation a bit, but this is new to me.
BR,
Jenni
Hi Jenni,
You can use the issuelinks smart value to get a list of linked issues to include in the Slack message. In this other Community answer, I show how this works and what it looks like in Slack. That's a good thread to read around the context and some additional customization you can do.
In short though, links work in both directions so you'll want to include both incoming and outgoing in your message. Here's a sample message body to use in the Slack notification action:
Test execution {{issue.key}} has been resolved!
Links:
{{issue.issuelinks.inwardIssue}}
{{issue.issuelinks.outwardIssue}}
Hope that helps! Happy to answer more questions.
Cheers,
Daniel | Atlassian Support
Online 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.