Forums

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

Can you increment a single select custom field?

Nathan Meller
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 6, 2022

I want to automatically increment a single select field that consists of numbers 1-5. This would increment through the list every time an issue transitions from one particular status to another. It would then stop at 5. I know how to do it with a number custom field via Jira automation and using {{#increment}}{{issue.customfield_11566}}{{/}} but want to know if there is a way to do it with a single select custom field. 

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Florian Bonniec
Community Champion
October 6, 2022

Hi @Nathan Meller 

If you want to do it automatically what the point of using a select list ?

Could you not use a number field and icrement it adding a condition to make sure it will not go higher than 5 ?

 

With the slect list you can set an automation with condition if then else from 0 to 4 and the select list .

If selectlist = 1 then edit select list to 2

 

Regards

Nathan Meller
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2022

Yeah, I was using a number field but I wanted to connect it to the built-in Jira pie chart gadget. The only problem is, that gadget does not support a custom number field but it supports a single select field. 

 

Thank you Florian this worked!

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