Forums

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

Automated trigger/automation when component changes multiple times?

Matt Yee
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!
May 21, 2019

Hi there, 

I'm looking to see if there's a way to setup a trigger or automation rule to automatically add a person to a ticket when the component field changes more than 3+ times.

The situation here is that we some times have tickets that bounce back and forth between teams and I'd like to flag or assign the issue to certain people to escalate the issue.  However, I only want to trigger the automation rule if it changes 3+ times instead of triggering every time the component changes.  

Is there a way to do this in Jira? 

1 answer

1 vote
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 22, 2019

Hello Matt, 

Welcome to Atlassian community.

I understand that you would like to assignee/add as a watcher someone when the component of the issue is changed by the third time. Is that correct?

I believe you can achieve this functionality using Automation for JIRA Add-on, adding a new custom field to identify how many times the component field was changed.

Explaining better:

- Create a Select list custom field (Single choice) with two pre-determined values: Component changed, component changed two times

- Add the field to your issues when creating it with an empty value

- Configure the following automation rule:

Screen Shot 2019-05-22 at 19.13.01.png

Here's the background of the Automation rule:

1 - Automation triggered when the component is updated

2 - Conditions:

IF the custom field is empty, it will be added with the value Component changed

IF the custom field is filled with Component changed, it will be added with the value Component changed two times

Else: The issue will be assigned to someone

P.S: Hide the field and only allow it to be updated by the Automation rule, so users can not manually update it.

Let me know if this is an option for you.

Suggest an answer

Log in or Sign up to answer