Work Item Relation Types - List

by XDK 23. July 2019 02:12

GET https://{instance}/{collection}/_apis/wit/workitemrelationtypes?api-version=5.0

{attributes: {…}, referenceName: "System.LinkTypes.Related-Forward", name: "Related", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Hierarchy-Forward", name: "Child", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Hierarchy-Reverse", name: "Parent", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Dependency-Forward", name: "Successor", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Dependency-Reverse", name: "Predecessor", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.TestCase.SharedStepReferencedBy-Forward", name: "Test
 Case", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.TestCase.SharedStepReferencedBy-Reverse", name: "Shared
 Steps", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.Common.TestedBy-Forward", name: "Tested
 By", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.Common.TestedBy-Reverse", name: "Tests", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Duplicate-Forward", name: "Duplicate", url: null, _links: null}
{attributes: {…}, referenceName: "System.LinkTypes.Duplicate-Reverse", name: "Duplicate
 Of", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.TestCase.SharedParameterReferencedBy-Forward", name: "Referenced
 By", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.TestCase.SharedParameterReferencedBy-Reverse", name: "References", url: null, _links: null}
{attributes: {…}, referenceName: "Hyperlink", name: null, url: null, _links: null}
{attributes: {…}, referenceName: "ArtifactLink", name: null, url: null, _links: null}

{attributes: {…}, referenceName: "Microsoft.VSTS.Common.Affects-Forward", name: "Affected by", url: null, _links: null}
{attributes: {…}, referenceName: "Microsoft.VSTS.Common.Affects-Reverse", name: "Affects", url: null, _links: null}

 

Tags:

Azure DevOps Services | REST APIs

REST API Versioning

by XDK 19. July 2019 18:48

Explanation:

API version can be specified either in the header of the HTTP request or as a URL query parameter:

HTTP request header: Accept: application/json;api-version=1.0
Query parameter: GET {url}/{organization}/_apis/{area}/{resource}?api-version=1.

Supported versions

Product 1.0 2.0 3.0 4.0 5.0
Azure DevOps Services X X X X X
Azure DevOps Server 2019 X X X X X
Team Foundation Server 2018 X X X X -
Team Foundation Server 2017 X X X - -
Team Foundation Server 2015 X X - - -

Note : Once a preview API is deactivated, requests that specify a -preview version will be rejected (for example, 1.0-preview.1, 1.0-preview.2).

 

Tags:

Azure DevOps Services | REST APIs | Team Foundation Server

Disclaimer

The information provided here is based on my expreriences, troubleshooting and online/offline findings. It can be used as is on your own risk without any warranties and I impose no rights.

About the author

My name is Xavier Dilip Kumar Jayaraj having 13+ years of IT experience which includes solid experience and depth Knowledge in Application Life Cycle Management, Configuration Management, Implementation and Support using TFS on-premises and Azure DevOps. I have invested in gaining DevOps knowledege to expertise with Cloud Computing providers namely Microsoft Azure and Amazon Web Services in recent years. I am very positive to learn and adapt emerging technologies to client’s environment.

Quotes I Like

"Failure will never overtake me if my determination to succeed is strong enough."  - Dr. APJ. Abdul Kalam

"Always be yourself, express yourself, have faith in yourself, do not go out and look for a successful personality and duplicate it." - Bruce Lee

"Technology is just a tool. In terms of getting the kids working together and motivating them, the teacher is the most important." - Bill Gates

"Innovation distinguishes between a leader and a follower." - Steve Jobs