I'm trying to link a gitHub issue on an AzureDevOps repo with github enabled.
I have tried adding patch data like so,
{
Operation = Operation.Add,
Path = "/relations/-",
Value = new
{
//url = payload.Issue.HtmlUrl,
url = @"https://github.com/issueURl",
rel = "ArtifactLink",
title = payload.Issue.Title,
attributes = new
{
name = "issue",
comment = "GitHub Issue"
}
}
});
But it keeps erroring with Invalid Resource Link Target
Looking at an existing WorkItem, All links are formatted as so:
I'm trying to link a gitHub issue on an AzureDevOps repo with github enabled.
I have tried adding patch data like so, { Operation = Operation.Add, Path = "/relations/-", Value = new { //url = payload.Issue.HtmlUrl, url = @"https://github.com/issueURl", rel = "ArtifactLink", title = payload.Issue.Title,
But it keeps erroring with Invalid Resource Link Target
Looking at an existing WorkItem, All links are formatted as so:
How does this vstfs url get generated?