Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,808
Community Members
 
Community Events
168
Community Groups

Loop through Fixversion that is attached to an issue and show all issues in that fixversion

I can't seem to find this functionality.

I have a rule that does the following:

trigger: Issue Transition to "Ready To Deploy" from any status

when triggered it

closes the attached Fixversion on that ticket using the smart value: {{issue.fixVersions.name}}

This works fine.

But I also want to send an email and in the body of the email, with the same Fixversion that's attached to the above ticket,  lists all tickets in that Fixversion in the email body.

I've tried a few combinations on this page, but nothing prints out the list of issues in a fixversion that is attached to the ticket that made the transition for the trigger:
https://support.atlassian.com/jira-software-cloud/docs/smart-values-lists/

1 answer

1 accepted

0 votes
Answer accepted

Hi Larry,

I believe you should be able to do this with our new "Lookup issues" action: https://support.atlassian.com/jira-software-cloud/docs/automation-actions/

So in your rule you can add this:

  • Trigger: Issue transitioned
  • Action: Release fix version
  • Action: Lookup issues and search for fixVersion = {{issue.fixVersions}}
  • Action: Send e-mail and use the new {{lookupIssues}} smart-value:
Just released:

{{#lookupIssues}}

  * {{key}} - {{summary}}

{{/}}

This would print a bulleted list of all released issues. Hope that makes sense.

 

Cheers,
Andreas

Is {{#lookupIssues}} action also awailable for DataCenter?  

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events