Scriptrunner

Priyanka Patel February 11, 2019

Hi Guys,

 

2 Questions

 

1- Is there a way to use a repository like BitBucket to update a script directly in Jira instead of going into a post function to do so?

 

2- Can we update the workflow via post function via the API?

 

I look forward to your reply.

 

Thanks,

 

Priyanka Patel

Engineering Support Analyst

1 answer

0 votes
Matthew Clark
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.
February 7, 2020

Scriptrunners "Script roots" (<JiraHome>/scripts) is just a directory on the Jira server so you can just turn your script roots into a repository that is connected to your bit bucket/git hub repo.

When you need to make changes you can clone your repository to your local machine, make/test your changes locally, push changes back to master/main branch and then go to the script roots directory on the Jira server and do a "git pull" to pull down the changes you pushed to master from your local machine.

Any file changes should be picked up after a few minutes and the post functions will then be using the newest versions of your scripts.

Regards

Matthew

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events