I am trying to add assets by the procedure shown in this link,
https://developer.atlassian.com/cloud/assetsapi/introductions-and-basics/getting-started/
But the assets I added are shown in jira only when I give the app ket as 'my-app',if am changing the appkey to any other name like 'my-app1',the assets I added are not being shown in my instance.
Also when I tried to add asset with anyother appkey other than 'my-app',the terminal shows the same output which is shown when asset is added successfully,also when I used the get command to retrive the assets,I get all the assets inlcuding the assets with the app key anything other than 'my-app',the assets are not being shown in jira instance thats it,how can solve this issue?
click on this link to see the screen shots
This is the code I used
curl -X PUT \
https://harshitsomani98.atlassian.net/rest/assetapi/asset \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
"origin": {
"appKey": "my-app1",
"originId": "randomoriginid"
},
"label": {
"value": "iPad 101 pro"
}
}' --user harshit@cloudlds2.com:FHk8dosSklDNF24DilixD5E2