Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

GET and POST assets to Jira Service Management Cloud using REST API

RayT
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 22, 2023

I'm struggling to get assets from Jira Service Management Cloud over REST API

Please help out to find documentation with some examples.

Example from Jira webpage (https://developer.atlassian.com/cloud/assets/rest/api-group-object/ ) gives me an error:

curl --location '{{baseURL}}/jsm/assests/workspace/{{workspaceId}}/1.0/aql/objects' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{Token}}' \
{
    "code"401,
    "errorMessage""Unauthorized"
}

1 answer

0 votes
Bjørn Meland
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 16, 2024

I believe that you depend on https://jira.atlassian.com/browse/JSDCLOUD-12080 - Assets REST API: add support for Oauth2 and JWT authentication

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events