Forums

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

Automation when add a comment

Rodriguez, Jhon Ronald
Contributor
April 22, 2022

How can i set the automation when i want to auto transition from Open to Work in progress. when an i assignee comment.

1 answer

1 accepted

6 votes
Answer accepted
Joseph Chung Yin
Community Champion
April 22, 2022

@Rodriguez, Jhon Ronald -

Can you clarify what do you mean by "assignee comment"?  Are you referring a simple comment add?  

In general, YES.  You can create a rule where the triggering event will be "Issue commented" then perform an action of "Transition issue".

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Rodriguez, Jhon Ronald
Contributor
April 22, 2022

sorry. i mean, when an assignee comment a specific word. like "escalated"
then the transition or status will be Escalated.
can you show me automaton. it works for legacy automation but not in new automation

Joseph Chung Yin
Community Champion
April 22, 2022

You can utilize the smart value function to conduct your text string via regex.  

Take a look further for more information - https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/

Full documentation in regards to smart values (a very powerful component supplementing Automation for Jira) - https://support.atlassian.com/cloud-automation/docs/smart-values-in-jira-automation/

Full documentation on Automation for Jira - https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/

Here is a very simple automation rule for your reference -

In this automation rule -

1) The triggering event is focus on Issue Commented.  

2) Conditions are it checks for specific issue type + the current issue's WF status (It is because not all the WFs have the "Escalated" status as a valid status for transition.  In addition to the aforementioned conditions, it checks for comment containing a specific "keyword" using the Compare value condition using smart value.  In my example, I check for issue type is [System] Service Request + Status is "Waiting for support" + Comment contains "Hello".

3) Final action is Issue Transition to "Escalated" status.

2022-04-22_23-10-58.png

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Like Stefan Salzl likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events