i want to get all informations about a project and eatch storys do work on stats about tasks and tasks witch are done
Hello Karaa,
I understand that you would like to return:
1 - All information about a Specific project
2 - all the issues under that project
3 - All Done issues under that project
Have I understood it correctly?
You will need to use three different REST API calls to get the information above, replacing the Bold characters below with the data in your instance:
- To return the details of a specific project through REST API
https://yourdomain.atlassian.net/rest/api/3/project/projectkey
- To return the details of all issues under a specific project
https://yourdomain.atlassian.net/rest/api/3/search?jql=project=projectkey
- To return the details of all Done Issues under a specific project
https://yourdomain.atlassian.net/rest/api/3/search?jql=project=projectkey%20and%20status=done
For more information/examples about REST API calls in JIRA, you can check the documentation below:
Let me know if this information helps.
thank you a lot it help me aloot thanks
but when i test with postman it return 404 not found project not found
but i put the right project key
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
To get all the story issues in a project you can use JQL in combination with the JQL API search function covered here:
And then use a JQL statement like:
project="ExampleProject" AND issuetype=story
This GET would convert the JQL in the URL for the API endpoint for a curl command like the following:
curl -D- -u EMAIL:AUTHTOKEN -X GET 'https://YOUR_BASE_URL.atlassian.net/rest/api/2/search?jql=project=ExampleProject+and+issuetype=Story'
Narrowing down the results further you can modify the JQL as much as necessary to get the desired result set, check out Advanced searching for additional search terms.
Regards,
Earl
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.