Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there any difference between Issues assigned and Issues Waiting while using JIRA Rest API

ravi March 31, 2015

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 -

  1. https://developer.atlassian.com/jiradev/api-reference/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues
  2. https://docs.atlassian.com/jira/REST/latest/#d2e3579

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2015

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.

ravi March 31, 2015

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 ?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2015

You still haven't defined what "waiting" means in your system. Status?

ravi March 31, 2015

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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2015

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?

ravi April 1, 2015

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 .

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 1, 2015

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?

TAGS
AUG Leaders

Atlassian Community Events