Hi,
We would like to resume paused Jenkins pipeline when JIRA issue is transitioned. Below are the details.
Let's say, we have a JIRA workflow that has below transitions.
To Do -> Dev -> QA -> Stage -> Prod
And Jenkinsfile contains following stages: Dev, QA, Stage and Prod.
While Jenkins is executing Dev stage, it should create a JIRA issue and then Issue to be transitioned to "Dev" in JIRA. When it enters to QA stage, it should pause the pipeline and waiting for the JIRA issue to be transitioned to "QA". Once JIRA issue is transitioned to "QA", JIRA should resume paused Jenkins pipeline.
We are able to create JIRA Issue and able to transition it to "Dev". But unable to find a way to resume the pipeline when JIRA issue is transitioned to "QA".
Please help.
Scriptrunner would be an answer here. I've done this contact me if you would like to see some sample code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.