Forums

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

JIRA automation: change task status based on custom field value

Domi
Contributor
September 21, 2021

Hello,

I'm trying to automatically change the status of a task based on the value of a custom field. I tried doing this with an automation but there isn't a condition for task statuses. 

Any ideas or suggestions?

Thank you,

Domi

2 answers

1 accepted

1 vote
Answer accepted
KAGITHALA BABU ANVESH
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.
September 22, 2021

Hello @Domi ,

 

Please check the below.

I created the automation based on assignee field, if assignee = something , issue must be transited to - IN PROGRESS.

I used to simplified workflow.

image.png

if you using customized WF , you may need to apply modifications to actions tab.

 

Thanks,

Kagithala Babu Anvesh

1 vote
Alex Koxaras -Relational-
Community Champion
September 22, 2021

Hi @Domi,

If you are trying to place a condition within a transition on a workflow, the only thing that you will accomplish is to hide/show this transition, when that custom field is empty/filled. You can't force an automatic transition on your workflow with out-of-the-box functionalities. You would need a listener to do that.

Best way out, since you are using the cloud, and IF this concerns only one project, is to use Jira's native automation. Now, status conditions exist. Just select issue field condition and then pick the status field.

starus condition.png 

The solution that @KAGITHALA BABU ANVESH will do the trick for you. The only thing that you have to take into consideration is:

  • If you want to include the changes during the creation of the ticket
  • You have to make sure that a transition exists between the statuses that you want this automation to take place

Hope that helps!

Suggest an answer

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

Atlassian Community Events