Hi
I am trying to integrate Jenkins with JIRA cloud through JIRA trigger plugin, in order to trigger the build in Jenkins with the JIRA status ticket change.
I have Jenkins URL using https port 443.
I followed the below steps:
On Jenkins side:
Jenkins global configuration (One time)
This configuration is
crucial, especially for JQL filter usage.
- Go to Jenkins global
configuration (${Jenkins URL}/configure)
- Configure JIRA Trigger
Configuration
On JIRA side:
Add new JIRA webhook (One time)
- Go to JIRA > Cog > System
> Advanced > WebHooks (Requires admin permission)
- Create a new Webhook
- Set URL to: ${Jenkins
URL}/jira-trigger-webhook-receiver/ e.g. http://localhost:8080/jenkins/jira-trigger-webhook-receiver/
- Enable issue updated event
- If you are on JIRA Cloud,
enable comment created event
- Do not check Exclude
body as this plugin requires the JSON to operate
- Save!
With the above steps, I am not able to get the build triggered on Jenkins (just to run shell cmd to echo "hello jira") with the status change of the JIRA ticket. I am not seeing any error on Jenkins build though. When I manually run the build on Jenkins it passes but not getting triggered by JIRA.
Can anyone help me with the issue.
Thanks
Swathi