Forums

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

Create JIRA issues through Github Workflow and place gating mechanism

Tarun Kumar
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!
September 3, 2025

I have a requirement where i want to run a Github workflow and when it runs it will create a change request in JSM. Once that request is approved then Github workflow will resume and implement/deploy the change in x Env. I want to use inbuilt actions rather creating issues through Curl and track it via some code as it will lead into using more compute resources in Github and ultimately will cost more. if anyone has implemented this please share inputs. thanks

1 answer

0 votes
Matteo Vecchiato
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.
September 3, 2025

Hi @Tarun Kumar ,

Welcome to Atlassian community and thank you for your question.

It doesn't cover all parts of your requirement, but you could consider the following integration with jsm through alerts: https://support.atlassian.com/jira-service-management-cloud/docs/integrate-with-github/ 

Then the alerts should be configured to generate work items.

Kind regards 

Tarun Kumar
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!
September 3, 2025

Thanks , Here is step by step requirement. let me know if still unclear

Trigger terraform deployment through Github Actions
if deployment is for Stg or Prd env then Create a change request in JIRA and wait for it to authorize/approve in JIRA.
Once Change request is approved then resume terraform deployment in X env.
Catch here is I dont want to run Github runner to wait for Approval ,it should work like Github does environment protection where for perticular X env if protection rule is enabled then that step in Github actions will not trigger until workflow is approved by reviewer.
Here i want to put approver as JIRA and resume deployment once it is approved. Some how track status of Jira change request and then proceed.

Matteo Vecchiato
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.
September 3, 2025

Hi @Tarun Kumar ,

In my opinion, for this kind of integration is required is required coding, an out-of-the-box solution is not possible.

Regards

Tarun Kumar
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!
September 4, 2025

HI @Matteo Vecchiato - I was following this Use deployment gating with GitHub | Jira Service Management Cloud | Atlassian Support and I have enabled protection rule in Github for JIRA.  It seems this document has what we want. But when we do all the configuration as per this page, Github actions triggers and then stuck at waiting for review from JIRA. But i dont see anything created in JIRA which needs to be approved. Can you guide here ?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events