I am trying to select all issues for a specific project via REST API. In Postman I can set up the JQL to get the specific issue types I want returned for a specific Project and it provides the returned JSON I expect to receive.
If I try the exact same JQL request in a Python script, using the same URL, user and authentication, the message returned is that the project is not found.
Has anyone experienced this type of issue?
Hi @Les Marsyla
Can you share how you dop the call with postman? add a screenshot of that, the response and the auth method.
Same for python. A screenshot of the same and add the code you are using.
Regards - Aaron
Hi Aaron, I've posted the samples in a different reply on the same thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hihi! ill look them today. Thanks!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Les Marsyla
Please let us know what endpoint you're calling and what HTTP method you're making. An example would go a long way to explaining what you might be experiencing. However, it is most unlikely that you will get different results for the same API, except if the permissions differ or probably the user differs. Probably in Postman, are you likely using a different auth mechanism?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's the GET call in Postman -
Authentication with Bearer Token - NDI5MTY3NTczNTgyOsOXUiz4c0vj+7QI9mHJP/907HgD
Gets these results -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems you've added your token to this comment, please redact it by editing your comment. I believe you might be using a different authentication in Postman as compared to Python. Please verify the authentication for both there might be a space character or a newline that may cause an issue in scripts especially if they are not formatted properly as the Python result shows a permission issue, and since Postman doesn't it suggests a permission issue with the authentication rather than the user. However, since you're on a paid plan you can raise a support request and have Atlassian look into your authentication method to identify what's wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.