Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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. 

@DPK J 

This also helped me with an Integration issue. Thank you!

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