Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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


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

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.

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? 

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

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events