Forums

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

Automation based on dates

Javier_Garay
Contributor
August 17, 2018

Hi

I would like to know how could I create an automation rule in Jira Service Desk using some specific dates to set the ticket priority. I.e. If current day => 25 and current day < 5 then set priority to High. Other scenario could be if current month = April then set priority to Very High,

Do you think that this can be done with Automation in Jira SD?

Thanks!

1 answer

0 votes
Anton Chemlev - Toolstrek -
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.
August 18, 2018

Hi,

In out-of-the-box JSD you can do the following:

1. Create new rule.

2. For WHEN choose "Issue created" trigger

3. For IF choose "issue matches" and insert JQL query, using startOfWeek or startOfMonth and endOfWeek/Month. 

4. For THEN choose "Edit issue" and update issue Priority field.

For more advanced queries, search for plugins which provide additional JQL functions, such as Jtricks or Scriptrunner. Also, with Scriptrunner you can write a very simple post-function to set Priority. 

Or you can try Automation for Jira plugin, with more advanced comparison featues.

Javier_Garay
Contributor
August 18, 2018

Hi Anton,

I've create some rules using startOfMonth, but I will have to look further in order to match specific months such April or March. I will have a look to Automation for Jira plugin.

Thank you very much!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events