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