Jenkins Integration Quick Start FAQ

Approved for Jira Data Center (tick)


PRE-REQUISITS

  • Make sure your Jenkins URL set correctly in Manage Jenkins > Configure System.

  • Make sure your Jenkins IP / Host accessible on Jira Host


STEP-1

Generate Jenkins API Token. Refer Jenkins API Token

Note.

  • Skip this step If you plan to use URL based token authentication i.e. Trigger builds remotely Option in Job Configuration.
  • Required Jenkins API Token If CSRF Protection is enabled in Configure Global Security.


STEP-2

Add Jenkins Servers Configuration in Jira

Go to Administration > Add-ons > Jenkins Utils section

Click Configure Jenkins Servers > Add new Jenkins Server Configuration

Note.

  • Set CSRF Crumb Issue to TRUE if your Jenkins master is enabled CSRF Protection in Configure Global Security.
  • Jenkins Username and API token is Optional
    • If you plan to use URL based token authentication i.e. Trigger builds remotely Option in Job Configuration.
    • If Jenkins master has read access to everyone
    • If  CSRF Protection is not enabled


STEP-3

Jenkins Project One Status Gadget

Jenkins Project Summary Gadget 

Jenkins Project Job Builds Gadget

Jenkins Issue Right Context Panel

Jenkins Issue Tab Panel

Jenkins Job Current Status Workflow Validator

Jenkins Job Run Workflow Post Function


STEP-4

Plugin Debug:

Go to System Administration > Logging and profiling > Default Loggers > Click Configure

Class/Package Name: com.ila.esolution.jira.jenkinsutils.plugin
Level: Debug

Click Add


Gadget Debug:

Go to Browser Developer Tools > Console log