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

Azure DevOps REST API - Work Item Relation Type URL Format Is Not Explicit #699

Open
jack-toussaint opened this issue Jun 13, 2024 · 0 comments

Comments

@jack-toussaint
Copy link

Please add examples for all of the Work Item Relation types. The ArtifactLink relation type for linking pull requests requires the url to be formatted in a specific way. I couldn't find that format anywhere in the documentation. I had to create a work item and manually link the PR. Then used the API to pull the metadata for that work item. That allowed me to inspect the ArtifactLink object and get the proper format, vstfs:///Git/PullRequestId/{projectId}/{repositoryId}/{pullRequestId}.

I searched online for "vstfs:///Git/PullRequestId" and found it tucked away in the Pull Requests page, https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-requests/get-pull-requests?view=azure-devops-rest-7.1&tabs=HTTP.

Please provide examples for all of the Work Item Relation Types or come up with another solution for improving this documentation.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

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

No branches or pull requests

1 participant