Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I need some help with some an automation around release planning.

I'm setting up a release approval board, and I want to send an email to a specific list of people when all the issues and stories associated with a release are moved to done status. Is that possible in Jira?

1 answer

1 accepted

Hi @Tim Clark 

Just checking... Are you on the Cloud or Server version?

This should be doable by triggering on transition, scanning for any other issues with that fixVersion, and checking their status.  This may be more difficult if you have more than one value in the fixVersion field.  

Assuming you have one version, you could try this if your change approval is just in time:

  • Trigger: Issue transitioned to Done (or the name of your completed or release approval status)
  • Action: Lookup Issues with JQL for issues with the same fixVersion and status not equal to Done... fixVersion = {{triggerIssue.fixVersion}} AND status NOT IN (Done)
  • Condition: check that {{lookupIssues.size}} is zero
  • OPTIONAL Action: Lookup Issues with JQL for issues with the same fixVersion to include the list in the email... fixVersion = {{triggerIssue.fixVersion}}
  • Action: send your email

If your change approval is a cadenced activity (e.g. every Thursday) you could use a scheduled trigger with JQL.  Perhaps something like:

project = myProject AND fixVersion = earliestUnreleasedVersion()

The scheduled trigger approach is much more difficult if you have multiple pending/unreleased versions at one time.  UPDATE: I changed the suggested JQL above to use earliestUnreleasedVersion() to help get just the next release.

Best regards,

Bill

Thanks, this is just what I needed.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,810 views 10 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you