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

      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'

      }

          [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

          Vinayak added a comment -

          Hi rafalmyslek . Could you please check this. Thanks!

          Vinayak added a comment - Hi rafalmyslek . Could you please check this. Thanks!

          Chad added a comment -

          +1 to this issue - we are also seeing unrelated JIRAs being updated that are not tied to the Jira branch and commit being triggered.

          My Jenkins version: Jenkins 2.426.3
          atlassian-jira-software-cloud plugin version: Version 2.0.12

          Chad added a comment - +1 to this issue - we are also seeing unrelated JIRAs being updated that are not tied to the Jira branch and commit being triggered. My Jenkins version: Jenkins 2.426.3 atlassian-jira-software-cloud plugin version: Version 2.0.12

          Vincent added a comment -

          To address the jiraSendDeploymentInfo issue in Jenkins, ensure the plugin is set up correctly and no scripts are interfering. If the problem persists, it could be a plugin bug, so check the documentation or contact support. Add a check in your Jenkinsfile to skip sending deployment info if issueKeys is empty.
           
           

          Vincent added a comment - To address the  jiraSendDeploymentInfo  issue in Jenkins, ensure the plugin is set up correctly and no scripts are interfering. If the problem persists, it could be a plugin bug, so check the documentation or contact support. Add a check in your Jenkinsfile to skip sending deployment info if  issueKeys  is empty.    

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

              Created:
              Updated: