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?
error:
<?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.
Regards,
Earl
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.