Forums

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

How to setup Automation to look for keyword in comments?

Rod March 17, 2020

I am trying to use Automation to look for keyword in the comments field so I can update the status of a JIRA case. Can this be done?

For example, if a comment is updated and if the comments field contains the following words '[Waiting for QA] is changed to [Back to Dev]', I would like to change the JIRA status to 'To Do'.

Thanks.

 

1 answer

1 accepted

3 votes
Answer accepted
Ajay _view26_
Community Champion
March 17, 2020

Hi @Rod ,

You can add a JQL condition to the Automation rule to achieve the use-case.

Screenshot 2020-03-18 at 11.31.16 AM.png

Rod March 18, 2020

Will give this a try.

And to update the workflow status to 'To Do'?

Rod March 18, 2020

Hi, This looks like it is looking for "Waiting for QA" for All comments?

Is there a way to limit the trigger to just the latest comment added?

Ajay _view26_
Community Champion
March 18, 2020

You can use the issue commented condition 

Screenshot 2020-03-19 at 9.44.11 AM.png

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