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

How to count the number of times an issue was reopened using Automation for Jira

Nikolaos Vlachos September 11, 2023

This is regarding this article:


The automation works perfectly but it only counts if the value is 0 and it changes it to 1 other than that. If you resolve the issue and move it back to reopen it doesn't go and add 1 more to the existing value of 1 so it will be 2 times reopened it just stays as 1.

Any idea how to solve that?

2 answers

1 accepted

1 vote
Answer accepted
Nikolaos Vlachos September 11, 2023

Found the solution. 


Just needed to replace 

{{#=}}{{issue.Re-Open Count}} + 1{{/}} 



{{#increment}}{{issue.My Customfield}}{{/}}
0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 11, 2023

@Nikolaos Vlachos -

Excellent you found your solution.  Important note to remember since automation rule will update your custom field (source of truth) when WF status changed, you want to make sure that the field itself is only present in the issue view screen - Therefore preserves the integrity of the field.

Often, one misses and allow the field to be editable outside of the source of truth.

Hope this also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events