The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Larry Katz
June 24, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Andreas Knecht
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 25, 2020

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

Magdalena Dessoulavy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 10, 2020

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

TAGS
AUG Leaders

Atlassian Community Events