Manage associations between contributors and work items
Creates associations between contributors and work items. If an association already exists between the specified contributor and work item, it is returned unchanged.
Forge and OAuth2 apps cannot access this REST resource.
array<ContributorWorkPairDto>
RequiredOK
Response containing the created contributor work associations
1
2
3
4
5
6
7
8
9
10
11
12
curl --request POST \
--url 'https://api.atlassian.com/ex/capacity-planning/{cloudId}/v1/contributor-work-associations' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"associations": [
{
"contributorDataId": "ari:cloud:identity::user/12345",
"workDataId": "ari:cloud:jira:cloud-id:issue/10001"
}
]
}'1
2
3
4
5
6
7
8
9
10
{
"associations": [
{
"contributorDataId": "ari:cloud:identity::user/12345",
"createdAt": "<string>",
"updatedAt": "<string>",
"workDataId": "ari:cloud:jira:cloud-id:issue/10001"
}
]
}Retrieves work items associated with a specific contributor, with cursor-based pagination. Use first/after for forward pagination or last/before for backward pagination.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredinteger
string
integer
string
OK
Paginated response containing contributor work associations
1
2
3
curl --request GET \
--url 'https://api.atlassian.com/ex/capacity-planning/{cloudId}/v1/contributor-work-associations/by-contributor?contributorDataId=ari%3Acloud%3Aidentity%3A%3Auser%2F12345' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"associations": [
{
"contributorDataId": "ari:cloud:identity::user/12345",
"createdAt": "<string>",
"updatedAt": "<string>",
"workDataId": "ari:cloud:jira:cloud-id:issue/10001"
}
],
"pageInfo": {
"endCursor": "<string>",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "<string>"
}
}Retrieves contributors associated with a specific work item, with cursor-based pagination. Use first/after for forward pagination or last/before for backward pagination.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredinteger
string
integer
string
OK
Paginated response containing contributor work associations
1
2
3
curl --request GET \
--url 'https://api.atlassian.com/ex/capacity-planning/{cloudId}/v1/contributor-work-associations/by-work?workDataId=ari%3Acloud%3Ajira%3Acloud-id%3Aissue%2F10001' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"associations": [
{
"contributorDataId": "ari:cloud:identity::user/12345",
"createdAt": "<string>",
"updatedAt": "<string>",
"workDataId": "ari:cloud:jira:cloud-id:issue/10001"
}
],
"pageInfo": {
"endCursor": "<string>",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "<string>"
}
}Deletes associations between contributors and work items.
Forge and OAuth2 apps cannot access this REST resource.
array<ContributorWorkPairDto>
RequiredOK
Response containing the composite keys of deleted contributor work associations
1
2
3
4
5
6
7
8
9
10
11
12
curl --request POST \
--url 'https://api.atlassian.com/ex/capacity-planning/{cloudId}/v1/contributor-work-associations:delete' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"associations": [
{
"contributorDataId": "ari:cloud:identity::user/12345",
"workDataId": "ari:cloud:jira:cloud-id:issue/10001"
}
]
}'1
2
3
4
5
6
7
8
{
"deleted": [
{
"contributorDataId": "ari:cloud:identity::user/12345",
"workDataId": "ari:cloud:jira:cloud-id:issue/10001"
}
]
}Rate this page: