I have an automation set up to notify me that a development ticket's linked JSD issues will be resolved in the next release. The JSD issues are then transitioned back to a support agent. The notification has hyperlinks
In our process, when a development ticket is resolved, a message is posted to Slack that refers to the ticket's linked support issues. If there is more than one linked issue, the issue links are combined into a single hyperlink with the issue keys separated by commas.
I'm trying to find a way for each linked issue to be shown in the Slack message individually. Here is what I have being sent to Slack:
Hi everyone, the linked bug ticket for <https://companyname.atlassian.net/browse/{{issue.issuelinks.issue.key}}|{{issue.issuelinks.issue.key}}> has been resolved and will be deployed in version {{issue.fixVersions}}.{{issue.issuelinks.issue.key}} is now assigned to {{issue.issuelinks.assignee.displayName}}.
Here's what that looks like:
Hi everyone, the linked bug ticket for DLS-16459, DLS-16459, INV-398, DLS-15831 has been resolved and will be deployed in version .DLS-16459, DLS-16459, INV-398, DLS-15831 is now assigned to .
I need some help separating the issue links into their own lines in the Slack message.
Hey there Drew,
{{issue.issuelinks.issue.key}} is a shorthand for full list syntax. The full syntax can be seen at:
https://docs.automationforjira.com/reference/lists.html#examples
Something like this below should print out the issue keys in seperate lines
{{#issue.issuelinks}}
* {{issue.key}}
{{/}}
Hope that helps!
Cheers,
Mark C
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.