Forums

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

Automation Assistance

Adam Taylor
Contributor
October 20, 2021

I'm looking to run some automation within Jira in order to look for specific criteria and then if the ticket matches then add a label but not sure if it can be done. 

The criteria would be as follows:

If a certain label has been used more that 20 times in the past 30/60 days, transitions (which we have created a new field in order to count) avg > 6 and avg time to resolution > 4hrs.

This would result in a additional label being added to the ticket.

Any assistance would be appreciated

1 answer

0 votes
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.
October 20, 2021

Hi @Adam Taylor 

What you describe seems like a very, narrow use case to me.  It might be possible and I recommend breaking it down into pieces to build-up slowly to see if you can do it.

For example, what do you mean by "a certain label has been used more that 20 times in the past 30/60 days"

  • used more than 20 times on a specific issue?
  • used more than 20 times on 20 different issues?
  • what happens if the label was used, and then removed?
  • etc.

Depending upon what you mean, that requirement could be met by adding custom fields (or entity properties) to track the label usage and check it.  (This usage information is also in the history but I do not believe you can query it as you ask within an automation rule.)

One key thing you are unclear on: which issue should get the "result in a additional label being added to the ticket": every issue meeting the criteria or a specific one/subset?  Please consider this as trying your rule.

Kind regards,
Bill

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