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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

708 views 12 20
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