The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Increase value of field per task

Kristian Partl
May 31, 2024

Hello,
I am looking for solution which will solve my problem.
I got a numeric field, this field represents invoice number.
And when someone creates new task, I want to automatically set this field on higher number than it was before on previous task.

Does someone ever did something similar, is it possible?

Thanks.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
John Funk
Community Champion
June 1, 2024

Hi Kristian,

Create an automaiton rule for an Issue Created Trigger

Add a Condition for Issue Type = Task (and any other conditions needed)

Then add an action for Edit Issue, and select the Invoice Number field. 

Then put this in the blank box under the field: {{#increment}}{{issue.Invoice Number}}{{/}}

where Invoice Number is the EXACT NAME of your custom field - adjust as needed in the text above so it matches your field name. 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events