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,299,958
Community Members
 
Community Events
165
Community Groups

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 Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

1,885 views 2 7
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