this is the command i am using
curl -D- -u- <username:APItoken> https://Domain.atlassian.net/rest/dev-status/latest/issue/detail?issueId=14154&applicationType=stash&dataType=repository
anything wrong in the command?
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code><message>applicationType</message><stack-trace></stack-trace></status>
Hello @t-gajula ,
The endpoint `dev-status` is not a public API, so it falls into a grey area where there is no public documentation available for the formatting at this time and it's subject to change without notice, so it usually requires a bit of trial and error to get the formatting nailed down. Some details on this can be seen in the feature request to make this one finalized and public:
However looking at the call you have above on initial glance, it looks like you are just missing the header info. Can you try it with the following details added in:
curl -D- -u <USER@EMAIL:API_TOKEN> -X GET -H "Content-Type: application/json" https://BASE_URL.atlassian.net/rest/dev-status/latest/issue/detail?issueId=<issue_id>&applicationType=stash&dataType=repository
Let me know if this works for you.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events