Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code in GitHub / Workitems and Builds in Azure DevOps - release notes do not have workitems #1029

Closed
adoprog opened this issue Jun 25, 2021 · 3 comments · Fixed by #1032
Closed
Assignees

Comments

@adoprog
Copy link

adoprog commented Jun 25, 2021

Azure DevOps Extensions

Generate Release Notes (Node Cross Platform)

Platform

Azure DevOps Services

Azure DevOps Server (TFS) Version

No response

Extension Version

3.52.11

Describe the bug

I have a repo in GitHub and my workitems and builds are in Azure DevOps. I can see that the project builds have associated workitems, but Release Notes task does not see them, it only lists commits.

Repo Steps

1. Go to GitHub and create a PR
2. Make sure that the build in Azure DevOps has associated workitem(s)
3. Check the generated release notes

Expected Behavior

Release notes should list the workitems associated with the build.

Logging Information

payload.json does not have workitems either

{"workItems":[],"commits":[{"id":"3c29d2c2701d7bcbf6d82f1f659b41ae089ef01b","message":"....
@adoprog adoprog added the bug label Jun 25, 2021
@rfennell
Copy link
Owner

There is no support via the Azure DevOps Rest API for retrieving links to workitem from repos not hosted on Azure

A very similar issue came up in #1003. I did raise the issue with Microsoft but go no solution

@rfennell
Copy link
Owner

rfennell commented Jul 2, 2021

Bit of an update, I think I have a workaround scanning linked commit messages and looking for AB123 tags, then using these to lookup work items.

It will be released as 3.54.x

@JeroenvdBurg
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants