Forums

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

Run scriptrunner script periodically

Michael Schlueter _secunet_
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 12, 2017

I have already used the Scriptrunner escalation service to run groovy scripts periodically based on a JQL search.

Now I have written a script that automatically releases due versions of a project. This script should run periodically but is not related to a JQL search. I can run this script manually from the scriptrunner script console, but is there a way to do this automatically? 

1 answer

1 accepted

1 vote
Answer accepted
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 12, 2017

Hello, 

You should add it as a service. 

Kindly read this article. 

https://scriptrunner.adaptavist.com/5.2.1/jira/services.html

Michael Schlueter _secunet_
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 12, 2017

Hello Alexey, 

that's exactly what I was looking for. Thanks a lot. 

Which Jira user is used to execute this script? It seems that my does not have access privileges for my project?

regards

Michael

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 12, 2017
Michael Schlueter _secunet_
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 15, 2017

Great! Thanks again for your support.

Regards

Michael

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events