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

atlassian jira software cloud plugin's jiraSendDeploymentInfo step is taking some random JIRA issue keys when passed issueKeys parameter to jiraSendDeploymentInfo is empty list

XMLWordPrintable

      atlassian-jira-software-cloud-plugin's jiraSendDeploymentInfo step is not honouring the provided issueKeys. Even if issueKeys list is empty it sending deployment to some tickets. I haven't switched on auto send deployment info option in plugin configuration on jenkins.

      My Jenkins version: Jenkins 2.346.3
      atlassian-jira-software-cloud plugin version: Version2.0.7

      Please find attached jenkins console logs screenshot. As you can see issueKeys is printed as empty but still it sending info to some of the tickets. I have not choosen option to send info automatically based no stage names.
      Here is the jenkins groovy stage responsible for this

      stage('Send deployment info to JIRA tickets') {
                  println("Sending deployments info to JIRA tickets -> ${issue_keys}")
                  jiraSendDeploymentInfo site: 'thoughtspot.atlassian.net', environmentId: "${branch} ${environment}", environmentName: "${branch} ${environment}", environmentType: environment, issueKeys: issue_keys, state: 'successful'

      }

            rafalmyslek Rafal Myslek
            vinayak_agarwal Vinayak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: