Rate this page:
Operations related to organizations.
Returns an organization, including its details.
read:organization:jira-service-management
read:organization.detail:jira-service-management
OrganizationId
RequiredReturns the requested organization along with its details.
1
2
3
4
curl --request GET \
--url '{host}/{basePath}/api/v1/organization/{organizationId}' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"id": "123",
"name": "Atlassian",
"details": [
{
"id": "321",
"name": "Region",
"type": {
"name": "SELECT",
"options": [
"AU",
"EU",
"US"
]
},
"values": [
"EU"
],
"configuration": {
"position": 41
}
}
]
}
Updates and returns the new value(s) of the updated field, along with its general configuration (such as ID and Type).
write:organization.detail-field:jira-service-management
OrganizationId
Requiredstring
RequiredThe value(s) of the field to update.
1
array<string>
On success, returns the updated field value(s).
1
2
3
4
5
6
7
8
9
10
curl --request PUT \
--url '{host}/{basePath}/api/v1/organization/{organizationId}/details?fieldName=Region' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"values": [
"EU"
]
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"id": "321",
"name": "Region",
"type": {
"name": "SELECT",
"options": [
"AU",
"EU",
"US"
]
},
"values": [
"EU"
]
}