Jenkins Jira integration through Jira Trigger plugin

16 views
Skip to first unread message

swathi mudumbai

unread,
May 1, 2020, 6:21:33 PM5/1/20
to Jenkins Users
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.

  1. Go to Jenkins global configuration (${Jenkins URL}/configure)
  2. Configure JIRA Trigger Configuration


On JIRA side:
Add new JIRA webhook (One time)
  1. Go to JIRA > Cog > System > Advanced > WebHooks (Requires admin permission)
  2. Create a new Webhook
  3. Set URL to: ${Jenkins URL}/jira-trigger-webhook-receiver/ e.g. http://localhost:8080/jenkins/jira-trigger-webhook-receiver/
  4. Enable issue updated event
  5. If you are on JIRA Cloud, enable comment created event
  6. Do not check Exclude body as this plugin requires the JSON to operate
  7. 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

Geoffroy J

unread,
May 2, 2020, 3:15:45 PM5/2/20
to Jenkins Users
Hello
silly question (sorry), but is your Jenkins visible from Jira Cloud? ie. does it have a public url?

swathi mudumbai

unread,
May 2, 2020, 7:32:33 PM5/2/20
to jenkins...@googlegroups.com

Hi 

Yes jenkins is running on AWS EC2 and has a public url using https but needs username and password. 
I am not sure how to verify if Jenkins is visible within JIRA cloud. Can you please tell me how to do that?

Thanks 
Swathi

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6972f4e6-a07b-4d85-9054-86f84d1faa8b%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages