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.

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

Issue does not exist or you do not have permission to see it.

Sune Vester Lindhe
Contributor
December 28, 2022

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

2 answers

1 accepted

0 votes
Answer accepted
Sune Vester Lindhe
Contributor
January 3, 2023

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 

0 votes
Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 28, 2022

Hi @Sune Vester Lindhe 

 

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

Sune Vester Lindhe
Contributor
December 28, 2022

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

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
AUG Leaders

Upcoming Jira Events