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

JIRA_ISSUES variable is empty in downstream jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins v2.6.1
      jira-plugin v2.3
      delivery-pipeline-plugin v1.0.0
      OS: RHEL

      The JIRA_ISSUES variable is empty in downstream jobs past the first one.

      I'm trying to update the related issues as they flow through a series of chained downstream jobs. For Example: BUILD --> QA Deploy --> STAGING Deploy. I'm able to capture accumulated issues from multiple BUILD runs when running the first downstream job (QA Deploy) using the JIRA: Add related environment variables to build in the QA job and referencing the $JIRA_ISSUES variable. However, when I run the next downstream job (STAGING Deploy), $JIRA_ISSUES is empty.

      How can I capture the accumulated JIRA issues in a variable in the STAGING job just like it does in the QA job?

      STAGING Deploy job configuration:

       

        1. deliveryPipeline-issues.PNG
          deliveryPipeline-issues.PNG
          17 kB
        2. jira-issue-setup.PNG
          jira-issue-setup.PNG
          29 kB
        3. empty-jiraIssues.PNG
          empty-jiraIssues.PNG
          6 kB
        4. downstream-jobParameters.PNG
          downstream-jobParameters.PNG
          20 kB
        5. expect-jiraIssues-parameter.PNG
          expect-jiraIssues-parameter.PNG
          22 kB
        6. related-JIRA.PNG
          related-JIRA.PNG
          13 kB
        7. jira_plugin_empty_parameter.png
          jira_plugin_empty_parameter.png
          88 kB

            tommysdk Tommy Tynjä
            jlevis Joe Levis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: