Hi, I want to in bulk get issues from the JIRA REST API, but can only seem to find a way to grab info 1 issue at a time, and only if i know in advance what the issue id is. is there any way to do this?
Hi Alex
There are different ways of getting all isssues, depending on what you're after (all issues in a sprint, all issues in a project, all issues). What call are you currently using?
Warren
not currently using any call, i just couldn't find a way to do it in the documentation. i want to be grabbing issues based off of time, say a call every hour for the previous hours issues and there changes. i assumed the audit log would hold this kind of information, but was sadly mistaken.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex
Probably this call will help you then :
/rest/agile/1.0/board/{boardId}/issue
For a given board, it returns all the issues. You can then pass a JQL filter in which looks at the last hour - see documentation here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The API is independent of whether it's cloud or server and that call exists for server. Right near the top of the documentation that I linked, there's anothe rlink for the equivalent server doc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's awesome! thanks very much. now i realized that i actually asked the wrong question, I want to find audit logs for all the issues, to be able to track what changes and who changed stuff, etc etc. also why are there 2 separate API's for agile and the platform? i didnt know the agile one existed till now...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex
Little tricks of the trade - append (&)?expand=changelog to your call and you get the history of each issue. Use ? if its the first parameter or else &.
When you say 2 separate API's, the API's are the same, but there is documentation for each.
If you're happy, please mark this as answered.
Thanks
Warren
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.