Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot find User Data with API

Simon König
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 4, 2024

Hi,

I am currently writing a python script to run for our Jira using API V2.

But for every https request in this manner: "<myhost>/rest/api/2/users" I get a 404 Error.
I also tried "<myhost>/rest/api/2/user ", which works, but wont let me get all userdata since it takes additional arguments as query.
- I want to get all user-data in jira API V2 and it won't let me
- I use python response
- I have successfully created Issues, got metadata and used jql search with my Header and Auth setup on this host

1 answer

0 votes
Simon König
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 4, 2024

Edit:

Using the header with "accept": "application/json" I get the errorMessag:

{"message":"null for uri: <MyHost>/rest/api/2/users/search","status-code":404}

Using my header I used in my other GET requests:{"Content-Type": "application/json"} I get:

</status-code><message>null for uri: <MyHost>/rest/api/2/users/search</message></status>

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events