We are trying to upload the Jenkins job build details
to specific existing jira.
Below is the postaction code written in jenkins files.
jiraSendDeploymentInfo environmentId: 'XYZ', environmentName: 'DEV', environmentType: 'development', serviceIds: ['JJI-1'], site: 'XYZ.atlassian.net', state: 'successful'
But we are unable to upload the jenkins job details to jira and getting below error.
We have passed correct issue key and Id but still it's failing
Can you please help us to fix the issue.
jiraSendDeploymentInfo: FAILURE_UNKNOWN_ASSOCIATIONS: Failed to send deployment information to Jira: XYZ.atlassian.net. Unknown associations: [Association
Unknown macro: {associationType=serviceIdOrKeys, values=[JJI-1]}
].
