Forums

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

How to version control Script runner Scripts in gitlab

nkmori_rtx_com December 10, 2024

Is it possible to version control script runner scripts in GITLAB?

2 answers

1 accepted

0 votes
Answer accepted
Tuncay Senturk _Snapbytes_
Community Champion
December 11, 2024

Yes, it is possible to version control your ScriptRunner scripts in GitLab (or any other Git-based system).

If you use ScriptRunner scripts as text-based Groovy files rather than using directly in the app, you can store and manage them in a Git repository. All you need to do is create a local directory to organize your ScriptRunner scripts, put all your groovy files in this folder (like below)

- my-project-scripts
-- listeners
-- jobs
-- validators
-- ...

commit and push these changes to your remote Gitlab repository. In this case, you will have versioned scripts, who did what, and when.

0 votes
John Funk
Community Champion
May 18, 2025

Hi @nkmori_rtx_com  - I am going to mark the answer by Tuncay as accepted. If you still need assistance, let us know. 

nkmori_rtx_com May 19, 2025

WE were loooking for a way for automated Version control where if you push the changes to GIT it would automatically update your script runner scripts.  Is that possible to have the new changes that were pushed to GIT automatically update the script runner scripts?

John Funk
Community Champion
May 19, 2025
Tuncay Senturk _Snapbytes_
Community Champion
May 19, 2025

Thanks @John Funk 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.12.13
TAGS
AUG Leaders

Atlassian Community Events