Hi , i have multiple jenkins job, each one is associated with JIRA issue status change.
(ex) "Dev deployment" jenkins job configured as if i change status of an JIRA issue from "TO DO" to "Dev deployment" , "Dev deployment" jenkins job has to be triggered through JIRA webhook.
Like that i have multiple jenkins jobs for each status changes in JIRA issue.
My question is how to mention the jenkins jobs url in JIRA webhooks?
(ex) i mentioned https://JENKINSURL/jira-trigger-webhook-receiver/ in JIRA webhook.
can't i use the same url in webhooks for all my jenkins jobs?
Hello @Ashok.T.R. ,
If I understand correctly, you are asking if you can configure multiple URLs in the same Webhook in Jira. If this is the case then the answer is no: you can only have one URL per Webhook in Jira.
However, even if I am not that familiar with Jenkins, I don't think having the possibility to set multiple URLs in a Webhook will be of any help in your case since you need to trigger different jobs for different transitions, like explained below:
Having multiple URLs in the same Webhook instead, would trigger all the jobs for each transition.
For further details please see:
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.