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

Automatically close associated issues, when release(fixversion) is released?

Can we auto close ( change status to closed) all tickets in a release, when that release is marked as released.

can we do this with any plugin or post function.

Thanks for your help.

3 answers

1 accepted

0 votes
Answer accepted
edwin vasquez Community Leader Dec 13, 2019

Automation for Jira can do this for you. Go to the URL below and see "Auto Close when version is released". I just created it quickly but you can see the options available.



 

https://docs.automationforjira.com/rule-playground/#/

Edwin

Thanks for your reply, I don't see action item for version released, so I am not able to select that action, In the link above also, I don't see any rule for that particular action.

Thanks

We have to use scheduled event and this JQL to find issues fixVersion in releasedVersions()  and close them.

edwin vasquez Community Leader Dec 18, 2019

Very nice! Glad you figured it out. 

Like Raju Adluru likes this

Thanks for this solution. I found this while trying to figure out of how resolve all unresolved tickets in a version. In my case, all tickets in the release ends up in "Ready for release" as the final version and our devs in this project wanted it so that they were automatically resolved when pressing "Release".

You can actually use trigger "When: Version released" if you like, instead of having a scheduled event running so so often. That makes the update instant after releasing and you dont need a job running at set intervals.

As you can see I used your JQL and tweaked it fit my case and it works great.

 

Automation.PNG

For some reason, the "Bypass workflow conditions and permissions" checkbox doesnt work (unless I misunderstand its function), so I had to change the workflow as well to allow all statuses to transition to "Done".

Hope that helps.

Br,

Stian

Hi Team,

Can anyone help with the script using script runner for Jira server plugin to achive the same functionality using custom listener?

Thanks in advance!

@Adaptavist @Adaptavist Nic 

Can you guys help with this?

Suggest an answer

Log in or Sign up to answer
TAGS

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