Hello,
I'm trying to add some automation so that when a certain amount of matching labels are added in a calendar month, they automatically get an additional label added to them for our Engineering Team to then review. Is this possible?
I would have thought you could do it be having a trigger of when a label field is edited and then creating a query to see if that label has been used 5 times maybe but don't know how to create the count part of the query. I'm also presuming that i would need to use some smart fields within my query but again i've hit a brick wall.
Any help would be greatly welcomed.
Regards
Adam
I'm not exactly sure how you would do this in practice, but you could try to create an automation that will check for when a lookup (JQL query) has more than 5 results, then do the label edit.
Try using a Lookup action (that is passed into a smart object called {{LookupIssues}}),
Pass that smart object into an advanced branch and in the branch check to see if {{LookupIssues.size}} is larger than 5
Then you can edit the tickets by updating the label.
This is a complicated request, you'll have to experiment quite a bit to make it work.
I would probably do this work another way, like using the Lookup action and then if the results were more than 5, send a message to a slack channel (or something like that). I find labels to be a bit unwieldy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.