Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi,
I am having an issue using the REST API. I have the following command line which works perfectly fine for me:
curl -s -H "Authorization: Basic <username:api-token base64-encoded>" https://<site name>.atlassian.net/rest/api/2/issue/AM-5
But when another vendor, who is supposed to integrate with Jira, runs it, they get an error message stating that basic authentication is not supported.
When my colleagues try to to run it then they get:
Issue does not exist or you do not have permission to see it.
I, on the other hand, can run it from the office, at home, and another computer at home without problems.
Why on Earth is there a difference?
Br, Sune
Oh boy, this is embarrassing... The problem was that the "-signs had been converted to the versions where the vertical bars are slightly tilted (like when Word changes the signs to quote begin and quote end signs). It happened when copying the command line to the messaging tool used to send the command line to colleagues.
//Sune
Few questions:
1. Everyone use the same user and pass or everyone use different?
2. If you are using different users make sure that everyone has access to this project and jira.
3. Please check if you are not limiting access to jira based on IP - https://support.atlassian.com/security-and-access-policies/docs/specify-ip-addresses-for-product-access/
Regards,
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sebastian,
Thanks for responding, as to your questions:
1. We are all running the exact same command line, so same user and api-token
2. See above
3. We are not using that feature (and my colleagues and I are working from the office, ie. same outgoing IP)
Br, Sune
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.