This resource represents products.
Permissions required: Jira Service Management agent.
read:product:jira-service-management
integer
string
Returns paginated list of products.
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/product' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
{
"results": [
{
"id": "3858a61a-d337-42e6-993e-e13e1c366d4f",
"name": "Acme Widget"
}
],
"nextPageCursor": "<string>"
}
Permissions required: Jira Service Management agent.
write:product:jira-service-management
The name of the product.
string
RequiredReturns the created product.
1
2
3
4
5
6
7
8
curl --request POST \
--url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/product' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "Acme Widget"
}'
1
2
3
4
{
"id": "3858a61a-d337-42e6-993e-e13e1c366d4f",
"name": "Acme Widget"
}
Permissions required: Jira Service Management agent.
read:product:jira-service-management
string
RequiredReturns the requested product.
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/product/{productId}' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
{
"id": "3858a61a-d337-42e6-993e-e13e1c366d4f",
"name": "Acme Widget"
}
Permissions required: Jira Service Management agent.
write:product:jira-service-management
string
RequiredThe new name of the product.
string
RequiredReturns the updated product.
1
2
3
4
5
6
7
8
curl --request PUT \
--url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/product/{productId}' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "Acme Widget"
}'
1
2
3
4
{
"id": "3858a61a-d337-42e6-993e-e13e1c366d4f",
"name": "Acme Widget"
}
Deletes a product and all entitlements associated with it. You cannot restore a detail field once it has been deleted.
Permissions required: Administer Jira global permission.
delete:product:jira-service-management
string
RequiredOn success, returns no response.
1
2
3
curl --request DELETE \
--url 'https://api.atlassian.com/jsm/csm/cloudid/{cloudId}/api/v1/product/{productId}' \
--header 'Authorization: Bearer <access_token>'
Rate this page: