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 created issue -
          Vinayak made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          Anthony made changes -
          Comment [ Thank you for sharing this details.

          {color:#c1c7d0}[DogNearMe|http://example.com/]{color} ]
          shan shan made changes -
          Description Original: 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|https://www.jenkins.io/]
          atlassian-jira-software-cloud plugin version: [Version2.0.7|https://plugins.jenkins.io/atlassian-jira-software-cloud]

          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'

          }
          New: 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|https://www.jenkins.io/]
          atlassian-jira-software-cloud plugin version: [Version2.0.7|https://plugins.jenkins.io/atlassian-jira-software-cloud]

          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 een

          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' @man added y he

          }
          shan shan made changes -
          Description Original: 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|https://www.jenkins.io/]
          atlassian-jira-software-cloud plugin version: [Version2.0.7|https://plugins.jenkins.io/atlassian-jira-software-cloud]

          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 een

          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' @man added y he

          }
          New: 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|https://www.jenkins.io/]
          atlassian-jira-software-cloud plugin version: [Version2.0.7|https://plugins.jenkins.io/atlassian-jira-software-cloud]

          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'

          }
          Mark Waite made changes -
          Comment [ What a fabulous post this has been. Never seen [Indigo Card|https://www-indigocard.com] this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. ]
          Mark Waite made changes -
          Comment [ Thanks for the info I will try to figure it out for more. [newjetnet aa com|https://www-newjetnet.com] ]

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

              Created:
              Updated: