Forums

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

Do smart values work in "Priority" field in Jira Automation?

Anu Edirisuriya June 4, 2025

 

I have created this automation to extract the Priority (High, Medium, Low) from the description but when I try to apply the smart value into Priority in the automation, it fails. Can I know if smart values are allowed in automation?

 

2025-06-05 00_05_46-EAWorkWindow.png

2025-06-05 00_02_43-EAWorkWindow.png

2025-06-05 00_02_43-EAWorkWindow.png

2025-06-04 23_56_42-EAWorkWindow.png

2 answers

1 accepted

3 votes
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.
June 4, 2025

Hey @Anu Edirisuriya 

I suggest that you will create IF ELSE condition and then set the priority accordingly.

 

for example:

If VAR = High
Then set priority = High

 

and so on....

 

Ariel.

Anu Edirisuriya June 4, 2025

Amazing! It works. Thank you :)

It never occured to me to use IF-ELSE

1 vote
Bill Sheboy
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.
June 4, 2025

Hi @Anu Edirisuriya 

FYI for automation rules and created variables...

I recommend not using any variable names which match built-in or custom field smart values.  For examples in your rule, please see: priority and component.  Those could confuse both the rule logic and people reading the rule trying to understand what they represent: the variable or the field in the work item.

Instead, consider always adding a prefix to variable names to prevent such collisions, such as using varPriority and varComponent.

 

Kind regards,
Bill

Anu Edirisuriya June 4, 2025

Thank you for the recommendation Billy :) I have changed them now

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