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?
Found the solution.
Just needed to replace
{{#=}}{{issue.Re-Open Count}} + 1{{/}}
with:
{{#increment}}{{issue.My Customfield}}{{/}}
Hi~ can you assist to explain more regarding the #increment? do you mean something like this? quite new here, thanks
{{#+1}}{{issue.ReOpen Count}}{{/}}
Edit: Okay it is exactly mean, fix! Thanks man!
{{#increment}}{{issue.Re-Open Count}}{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.