It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I am getting 404 error for rest api on jira Edited

I want to test the rest api of jira and fetch some data from jira.

So I used the below url 

https://jira.rakuten-it.com/rest/api/latest/search?jql=assignee=amarsha.ng

But I am getting 404 ,

I want to know any rest api basic url to check whether rest api is supported or not for my organisation domain name (jira.rakuten-it.com) 

I am able to access jira  as https://jira.rakuten-it.com/jira/secure/Dashboard.jspa

But I want to access it via rest and to do some operations like get the logged hours for particular project.

2 answers

2 accepted

0 votes
Answer accepted
DPK J Community Leader Jan 12, 2020

Looking at your Dashboard URL, I can see that you are running your Jira on '/jira' context URL.

So, your REST API Base URL will be, https://jira.rakuten-it.com/jira/rest/api/latest

And your search URL will be, https://jira.rakuten-it.com/jira/rest/api/latest/search?jql=assignee=amarsha.ng

 

@DPK J ,

Ya its working now because of missing /jira in my url causing problem.

Thanks for your valuable answer

0 votes
Answer accepted
Adrian Atlassian Team Jan 13, 2020

Hi @amarsha 

 

You may follow the steps from this page to test basic authentication :

curl -u username:password -X GET -H "Content-Type: application/json" http://localhost:8080/rest/api/2/issue/createmeta
  • Replace username:password with the correct username & password
  • Replace localhost:8080 with your baseurl. 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you