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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.