I am trying to get Octopus Server (2020.3.2) to update Jira Cloud regarding the status of the deployment. I installed the Octopus Deploy plugin in Jira Cloud, and went through the setup of process, and got a thumbs-up message from the test script.
However, when I promote an application, I’m getting the following reported in the logs:
Sending Jira state update - in_progress
Sending deployment data to Jira for deployment Deployments-8923, to Production(unmapped) with state in_progress for issue keys ep-7072
Unable to publish data to Jira. Response code: BadRequest, Message: There was an issue posting deployment info to Jira: No valid associations found for deployment
followed by:
Sending Jira state update - successful
Sending deployment data to Jira for deployment Deployments-8923, to Production(unmapped) with state successful for issue keys ep-7072
Unable to publish data to Jira. Response code: BadRequest, Message: There was an issue posting deployment info to Jira: No valid associations found for deployment
How can I set up valid associations? My Octopus environments are named Development, Testing, and Production.