microsoft / azure-pipelines-jira

Azure Pipelines for Jira
MIT License
15 stars 6 forks source link

Jira issues not showing on Work items page of Azure DevOps releases #48

Open schnitty opened 2 years ago

schnitty commented 2 years ago

I've followed the instructions at: https://github.com/microsoft/azure-pipelines-jira/blob/master/tutorial.md and https://support.atlassian.com/jira-cloud-administration/docs/set-up-your-deployment-integration/

To install and configure both Git Integration for Jira (to Azure Repos) and Azure pipelines for Jira. But have only been able to get it partially working.

Jira issues are not showing on the Work items tab on release pipeline in Azure DevOps and Deployment information is now showing in the Deployments section of Jira

What is working:

In Jira I can see and get to my Azure Repos repository from the Code page in Jira From an issue (user story) I can see the commits that referenceed the Jira ticket key (Id) from the issue (so linking is working properly) From the Deployments tab it says "You're almost ready to view deployments in Jira" Development tools connected green tick Link issues with your development work green tick

In Azure DevOps Nothing, there are not navigatable links to tickets in Jira

Can anyone help? -- seems so close to getting it working -- have I missed something?

schnitty commented 2 years ago

I've done a little bit more testing and I have gotten it to work but only under certain scenarios.

It works if you put the Jira issue key in the title of a pull request It works if you put the Jira issue key in the subject/title of commit message it DOES NOT WORK if you put the Jira issue key at the bottom of the commit message

So while I can work with this, sort of. I also like to use conventional-changelog and commitizen where the links to issues appear at the bottom of the commit message, not in the title/subject.

It would be nice if the integrations supported links to tickets at the bottom of the commit message as well