Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54108

"JIRA: Progress issues by workflow action" fails when job is located within a folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • jira-plugin
    • None
    • Jenkins 2.143
      JIRA plugin 3.0.3
      Folders plugin 6.6
      JIRA 7.12.3

      A job which initiates a transition in Jira via the "Progress issues by workflow action" post-build step will succeed if the job is located in the Jenkins root.  If that exact same job, however, is relocated to a sub-folder (per the Folders plugin), it will always fail with:

      • a "[JIRA] Failed to connect to JIRA" error in the build log
      • a "JIRA session could not be established" error in the plugin's JiraSite class

      I've reduced the scenario to the most basic configuration I could and validated that the only variable between a successful run and a failed one is the location of the job relative to the Jenkins root.  It appears, just on cursory inspection of the plugin's code, that the Jira credentials are "missing" when the build is run from within a Jenkins folder.

      Attached is the affected job's configuration.

            Unassigned Unassigned
            jasonrweiss Jason Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: