Rate this page:
Operations related to customers.
Returns a Customer, including their details.
read:customer:jira-service-management
read:customer.detail:jira-service-management
CustomerId
RequiredReturns the requested individual.
1
2
3
4
curl --request GET \
--url '{host}/{basePath}/api/v1/customer/{customerId}' \
--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
25
26
27
28
29
30
{
"id": "2a927c94-363f-4977-a0d6-9477d535f329",
"name": "John Doe",
"details": [
{
"id": "321",
"name": "Region",
"type": {
"name": "SELECT",
"options": [
"AU",
"EU",
"US"
]
},
"values": [
"EU"
],
"configuration": {
"position": 41
}
}
],
"organizations": [
{
"id": "123",
"name": "Atlassian"
}
]
}
Updates and returns the new value(s) of the updated field, along with its general configuration (such as ID and Type).
write:customer.detail-field:jira-service-management
CustomerId
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/customer/{customerId}/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"
]
}