Automation: Set Status to Done When Version Released

Alexandra Martins February 7, 2025

I Would like to create an automation that does the following:

when a version is released, all story,tasks,spikes with that fixed Version, that are Resolved, change their status to "Done" (our last status on the workflow. Is this possible?

2 answers

2 accepted

3 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2025

Hello @Alexandra Martins 

Welcome to the Atlassian community.

Are you working with Jira Data Center or Jira Cloud?

Have you tried to create this automation rule? If so, please provide screen images showing what you have created, and tell us at which point you have questions about what to do.

If you have not yet constructed the rule, the basic structure would be:

WHEN: Version Released

FOR EACH / Related Issue / JQL: supplying a JQL to find all issues where status=Resolved and Fix Versions is set to the Version that triggered the rule

THEN: Transition issue to Done

Alexandra Martins February 7, 2025

Jira Datacenter

 

Alexandra Martins February 7, 2025

image.pngI have this until now. I don´t know how to select the items that have the fix Version the One being released. How to I filter that?

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2025

Hi @Alexandra Martins 

referring to @Trudy Claspill ´s solution just adding that there is even a branch for issues in version. This is very helpful in the context of any version trigger. So this will automatically take all the issues of the version just released (and therefore that triggered the rule) into account/context and processes the action (the transition) on those issues (see screenshot below):

image.png

Hope this meets your expectations and solves your problem.

Best
Stefan

Like # people like this
Alexandra Martins February 10, 2025

That seems to be the solution, going to try it thanks a lot Stefan!

kind regards!

Alexandra

Like # people like this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 28, 2025

@Alexandra Martins 

Could you already tey rhe solution?

In case you problem is solved please consider to hit the „accept answer“ button in order to mark this question as solved.

Thanks in advance.

Best
Stefan

Alexandra Martins February 28, 2025

Hi Stefan! Tried it just yesterday and it worked :-) Just had to add the followingAuto-to-done.png

0 votes
Answer accepted
Kelly Arrey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2025

Hi @Alexandra Martins

I think there are two questions here:

  1. Can you do this?
  2. Should you do this?

Marking everything as Done unconditionally, automatically, without any investigation, seems like a risk that outstanding work will be mistakenly marked as completed, which can lead to problems down the road.

Best regards,

Kel

Alexandra Martins February 10, 2025

Hi @Kelly Arrey!

That'll be a problem of how you have your team's workflow setup. In our case it serves the purpose we need. and this will be on tickets that were already in resolved status, ran through UAT, and only then were release to PROD and are being closed (accepted)

regards,

Alexandra

Like Stefan Salzl likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events