Hello,
i am developing an iOS application and i am currently trying to fetch the issues ( waiting & assigned ) to a particular user but when i display both the issues in my iOS mobile application , i see the same results because i am using the same api -
http://ray.doamin.com/rest/api/2/search?jql=assignee=%@ , but my question is there any different api that i need to use for fetching waiting issues as the above api clearly states that is for the Issues Assigned and also is issues assigned and issues waiting for the user are the same is my another question ? Please let me know as i couldn't find the exact api in the JIRA documentation.
I have looked through this documentation -
Community moderators have prevented the ability to post new answers.
I'm sorry, you're using a lot of run-on sentences here which makes your question totally unclear. I can try to run through what I would expect from REST to try to explain it.
The REST url you have posted will fetch all issues for the assignee you specify. Whatever you mean by "waiting" and "assigned" is completely irrelevant because you have only said "assignee = someone"
Whatever you do mean by waiting or assigned, you should be able to add it into the query. If, for example, "waiting" is a status, then add &status=waiting to the query string.
Hi Nic, Thanks for answering , to make my question more relevant is there any API which has waiting to it that will fetch all the issues waiting for the user ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You still haven't defined what "waiting" means in your system. Status?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes , waiting = issues waiting for a user Assigned = issues assigned to a user . http://ray.domain.com/rest/api/2/search?jql=assignee=rtho ---> this is working http://ray.domain.com/rest/api/2/search?jql=waiting=rtho ---> this is not working . i have found the rest api for assignee here but i haven't found any rest api for waiting anywhere in the documentation . Thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, you still have not clearly defined what you mean by "waiting". Is it a status? Is it based on another field? Step away from REST to begin with, we can translate that later. How do you find "waiting" issues when you search for them in the UI? What JQL do you end up with?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah sure. i don't how to find the waiting issues , i know how to find the assigned issues by using the below URL . https://ray.domain.com/rest/api/2/search?jql=assignee=(username) . My question is which JQL filters do i need to use to find about the waiting issues .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can't help you find the "waiting" issues, until you can clearly define what you mean by "waiting". Pick an issue that you think is "waiting" and describe *why* you describe it as "waiting". What does it mean?
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.