How to create recurring tasks in JIRA

Won Je Choi November 9, 2017

For example, I would like to get a monthly task to review a list of servers for updates.

 

Can any one tell me how would be possible in jira plugin development using scriptrunner?

2 answers

2 votes
Alexey Matveev
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.
November 9, 2017

You can create a file named service1.groovy with the following content

package groovy

log.error("service completed");

Then you put this file to <JIRA_HOME_DIRECTORY>/scripts/groovy

and then you configure a service in JIRA. You can read here how to configure it:

https://scriptrunner.adaptavist.com/4.3.0/jira/services.html#_usage

When you need to provide a groovy script file provide the following line

groovy/service1.groovy

 

That is it. You will see in atlassian-jira.log file "service completed". Then change service1.groovy as you wish to meet your buisness goal. 

0 votes
adammarkham
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.
November 9, 2017

You can schedule a script to run every month (on any time period) by using Services in ScriptRunner which are described here.

Hope this helps.

Adam

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events