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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,793
Community Members
 
Community Events
184
Community Groups

Increment Count Doesn't Work

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{{/}}

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 11, 2023

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)}}
Kelly Arrey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2023

@r2d2 Is this an automation rule? If so, how is it triggered? 

Yes its an automated rule, changes based on status changes e.g. will update when moving from closed to reopen or rejected to reopen.

I've used the following code but once the increment moves to 1 it doesnt move to 2 

{{#=}}{{Number}} + 1{{/}}
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 11, 2023

@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?

The code is as follows

{{#=}}{{customfield_"enter project id here"}} + 1{{/}}

 

{{#=}}{{customfield_12345}} + 1{{/}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events