Where does Azure DevOps for Jira (Official) take deployment events from?
The docs suggest that it's only special deployment jobs that provide the correct information to Jira. However, I have some projects listing deployments even though I don't use deployment jobs.
I guess that Jira is looking at the names of stages or jobs to determine whether it's a deployment or not. I have, for example, a stage and a job both called "DeployStage". I see deployment events for them and Jira even got the environment "staging". I have the same thing but with a key Jira doesn't now and it's listed under "other environments".
This would be super helpful (for I don't want to use deployment jobs). I just can't find any reference supporting my guess. And I also wouldn't feel too great relying on some undocumented behaviour. The docs are a bit meager in this regard.
/edit: Extra bit of information: As of March 1, 2024 I sadly no longer get any deployment events in Jira for aforementioned project ...
The answer for us was to use the correct app ... I thought I double-checked but apparently we (still) haven't had the official one. After switching to the official app, reauthentication, and using deployment jobs I can now spot deployments hitting Jira.
Hi @Ronald Bergmann ,
Besides the deployment jobs in the YAML pipeline, the app also consider deployment stage in the classic release pipelines as a Deployment. Perhaps this is what have been captured in your instance?
Let us know if you have further questions
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Trung Do
Thanks for the reply! It seems like this has been the case up until Mar 1, this year. After that no more deployment events were tracked even though the pipeline has not been touched.
Yesterday I tried deployment jobs. Jira lists commits, the branch und the PR on my card but the deployments remain empty. I wonder if there's a bug with the project or org. The setup for deployments has all-green checkmarks.
Do you have any idea how to debug this further?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you still need help, could you please raise a support ticket so we can look into your setup in more details?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Will do, thanks. However, can you tell if the previous behaviour was a bug? It seems like Jira picked up random events as deployments. I can, for example, see a job "UnitTest" being picked up as a deployment event for the "Testing" environment (and I'm pretty sure it wasn't a deployment job and didn't have "deploy" anywhere).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.