-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Blocker
-
Component/s: atlassian-jira-software-cloud-plugin
-
Environment:Jenkins
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'
}