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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

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

How to automate close all tasks and sub-tasks after released - Jira Automation Edited

Hello,

I would like to create a rule to close all tasks and sub-tasks fixed in just released version (on condition they are in specific status).

Following the page https://docs.automationforjira.com/rule-playground/#/rule/112178 I am able to cover the first part of the rule (close all tasks), but I am not able to find a way for closing all sub-tasks (playing wiht this already for some time).

Any hints?

 

rule.PNG

 

Thanks!

2 answers

1 accepted

0 votes
Answer accepted

Hey there Jaroslaw,

Do the sub-tasks have the fixfor version set? If so you can replace the "Sub-tasks" related branch with a JQL query like:

 

issuetype IN subTaskIssueTypes() AND fixVersion = latestReleasedVersion() AND status = "Ready for Production"

 and then transition the issues there into the correct state

Cheers,

Mark C

Thanks for the answer. When "fix version" is set the rule works - thank you.

 

Unfortunately "fixfor" is not always set and I am not able to find any instruction that will go through all sub-tasks closing them on given condition.

 

Cheers,

Jarek

Did you have any problems auto-closing stories? On my Transition of the issue to Completed (Done) I set the Resolution to Done but I get errors during the flow stating 'Resolution name 'Fixed' is not valid (resolution)).

Like # people like this

I have the same trouble @Phil Murray 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

269 views 2 5
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