How to create recurring tasks in JIRA

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

This widget could not be displayed.

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. 

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

733 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you