/
Jenkins

Jenkins

Trigger a Jenkins job from a Jira issue

  1. Create a new Action add a name to it and select application/json as template.

  2. Select POST as method

  3. Enter URL

    https://YOUR_JENKINS_INSTANCE/buildByToken/buildWithParameters/build?token=YOUR_TOKEN&JENKINS_NAME={{issue.summary}}&SOME_FIELD={{issue.customfield_1001}}&ANOTHER_FIELD={{issue.customfield_10002}}&job=YOUR_JOB_NAME

 

Trigger

On the trigger tab select when you want the job to be triggered

 

Related content

Create an Integration
Create an Integration
More like this
Incoming Webhooks example
Incoming Webhooks example
More like this
Create a user and find a user
Create a user and find a user
More like this
Add users to JIRA group
Add users to JIRA group
More like this
Jira to Jira Sync Demo
Jira to Jira Sync Demo
More like this
Google PubSub integration to Jira
Google PubSub integration to Jira
More like this