You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
On Jira, I have a field called re-opened count which in essence every time the bug is re-opened the count increments however I've noticed this only works if it doesn't have a count present once we hit the count of of 1 this no longer works. Any ideas why this is?
The code is as follows: -
{{#=}}{{customfield_10401}} + 1{{/}}
Hi @r2d2
This rule should work fine without any problem. I've tested it and it's fine. Can you use instead of the customfield id, the field's name? E.g. I used
{{#=}}{{Number}} + 1{{/}}
Or you can use as well:
{{issue.Number.plus(1)}}
@r2d2 Is this an automation rule? If so, how is it triggered?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes its an automated rule, changes based on status changes e.g. will update when moving from closed to reopen or rejected to reopen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've used the following code but once the increment moves to 1 it doesnt move to 2
{{#=}}{{Number}} + 1{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@r2d2 can you share a screenshot of your code and to describe what do you do and you expect it again to increase by 1?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The code is as follows
{{#=}}{{customfield_"enter project id here"}} + 1{{/}}
{{#=}}{{customfield_12345}} + 1{{/}}
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.