The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Best way to create an automation rule to automatically reassign a ticket to a person based on month?

Matt Sardi
August 30, 2022

Hello, 

I was curious as to whether or not someone else may have found a better solution to a question that I have. 

I created an automation rule, that, when incident tickets are assigned to a group, get assigned to an oncall person. 

However, I'd like to take it a step further -- if person A is on for an entire month and person B, the second, and third person, the third month, prior to going back to person A; what is the best way that I could use JQL to facilitate this? 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
oliver.wihler
August 30, 2022

Have a look a the available issue fields

Then check the Date and Time functions.

You then could come up with an IF Match condition like "{{issue.created.format("MM")}}" equals to 01.  Where 01 is January, of course. then make an else-if:matches for each month. The action then could be "Edit issue" where you set the assignee to a person.

Matt Sardi
August 30, 2022

Thank you Oliver for reaching out regarding this -- do you know if there's a way to automate this without specifying the month and just cycle through the number of persons oncall? 

oliver.wihler
August 30, 2022

Have a look at lists.  You somehow need to decided with person goes for which month..

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events