Behaviors - Get
Returns a behavior for the process.
GET https://dev.azure.com/{organization}/_apis/work/processadmin/{processId}/behaviors?behaviorRefName={behaviorRefName}&api-version=5.1-preview.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
organization
|
path | True |
|
The name of the Azure DevOps organization. |
process
|
path | True |
|
The ID of the process |
behavior
|
query | True |
|
The reference name of the behavior |
api-version
|
query | True |
|
Version of the API to use. This should be set to '5.1-preview.1' to use this version of the api. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
accessToken
Personal access token. Use any value for the user name and the token as the password.
Type:
basic
Examples
Sample Request
GET https://dev.azure.com/fabrikam/_apis/work/processadmin/{processId}/behaviors?api-version=5.1-preview.1
Sample Response
persistent-Auth: true
lfs-Authenticate: NTLM
{
"id": "System.RequirementBacklogBehavior",
"description": "Requirement level backlog and board",
"abstract": false,
"overriden": true,
"custom": false,
"name": "Stories",
"color": "009CCC",
"icon": null,
"fields": [
{
"behaviorFieldId": "Order",
"id": "Microsoft.VSTS.Common.StackRank",
"name": "Stack Rank"
},
{
"behaviorFieldId": "Effort",
"id": "Microsoft.VSTS.Scheduling.StoryPoints",
"name": "Story Points"
}
],
"inherits": "System.OrderedBehavior",
"rank": 20
}
Definitions
Admin |
Describes an admin behavior for a process. |
Admin |
Describes an admin behavior field. |
AdminBehavior
Describes an admin behavior for a process.
Name | Type | Description |
---|---|---|
abstract |
|
Is the behavior abstract (i.e. can not be associated with any work item type). |
color |
|
The color associated with the behavior. |
custom |
|
Indicates if the behavior is custom. |
description |
|
The description of the behavior. |
fields |
List of behavior fields. |
|
id |
|
Behavior ID. |
inherits |
|
Parent behavior reference. |
name |
|
The behavior name. |
overriden |
|
Is the behavior overrides a behavior from system process. |
rank |
|
The rank. |
AdminBehaviorField
Describes an admin behavior field.
Name | Type | Description |
---|---|---|
behaviorFieldId |
|
The behavior field identifier. |
id |
|
The behavior ID. |
name |
|
The behavior name. |