Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation: Increment in Custom field on a transition

Aleena Umaiir
Contributor
November 20, 2025

I want to add an automation for an increment in a custom field "Count", on a transition. I am adding a query, in Audit log it says, issue is edited but it's not actually. 

 

My custom field type in Number, and name is Count.
Here is the query:  {{issue.Count.plus(1)}}

2 answers

1 accepted

1 vote
Answer accepted
arielei
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.
November 20, 2025

Hey @Aleena Umaiir 

That function will work on fields only.

if you want to add numbers such as "1", you need to use this:

{{#=}}{{issue.Count}} + 1{{/}}
give it a try.
Ariel.
Aleena Umaiir
Contributor
November 20, 2025

Thanks for the quick response, it worked.

0 votes
Gor Greyan
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.
November 20, 2025

Hi @Aleena Umaiir

Welcome to the Atlassian Community!

I will suggest another version also.

Again, Use Jira Automation. See the attached screen and use the following. Replace the XXXXX with the ID of your field.

{
"fields": {
"customfield_XXXXX": "{{#=}} issue.customfield_XXXX + 1 {{/}}"
}
}

 

Screenshot 2025-11-20 163301.png

Aleena Umaiir
Contributor
November 20, 2025

Thanks a lot :)

Like Gor Greyan likes this
Gor Greyan
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.
November 20, 2025

Dear @Aleena Umaiir

If this also helps and works, kindly ask you accept the answer.

Suggest an answer

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

Atlassian Community Events