Forums

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

Post Function to clone a repo/create a branch/commit/raise a PR

tsialiam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 13, 2022

Hi, I am new to Jira.

My requirement is: When I approve a Jira story I need to trigger a script to run a few git commands. Is this doable?

Is there any plugin to help on this? Any example/documentation ? 

If there is no plugin, I am thinking to use Groovy and ScriptRunner for Jira. Any suggestions? 

1 answer

0 votes
Haddon Fisher
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.
April 13, 2022

I am not current on Git's API's, but I bet you could build an automation rule to do this if you didn't want to use SR; there is an action called "send web request" which you can use to hit endpoints directly. 

Suggest an answer

Log in or Sign up to answer