I want to test the rest api of jira and fetch some data from jira.
So I used the below url
https://my_company_website.com/rest/api/latest/search?jql=assignee=personName
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.my_comany.com)
I am able to access jira as https://my_company_website.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.
Community moderators have prevented the ability to post new answers.
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://xxxxxx/jira/rest/api/latest
And your search URL will be, https://xxxxx/jira/rest/api/latest/search?jql=assignee=amarsha.ng
@DPKJ ,
Ya its working now because of missing /jira in my url causing problem.
Thanks for your valuable answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This also helped me with an Integration issue. Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.