Issue Details (XML | Word | Printable)

Key: JRA-6319
Type: Support Request Support Request
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Mark Chaimungkalanont [Atlassian]
Reporter: Ivan Rangelov
Votes: 1
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
JIRA

SOAP method for getting issues for a filter

Created: 01/Apr/05 07:12 AM   Updated: 26/Mar/08 03:43 PM
Component/s: Remote API (SOAP & XML-RPC)
Affects Version/s: None
Fix Version/s: 3.2.1

Time Tracking:
Not Specified

Issue Links:
Duplicate
 
Reference
 

Participants: Anton Mazkovoi [Atlassian], Ernest Wong, Ivan Rangelov, Ivan Rangelov, Mark Chaimungkalanont [Atlassian], Sebastian J and SOAP tester
Since last comment: 1 year, 20 weeks, 5 days ago
Company: gmi-mr.com (Find related issues)
Resolution Date: 06/Jun/05 02:30 AM
Labels:


 Description  « Hide
Hello,

(first of all we have purchased your system (Professional Edition, Version: 3.1-#80) )

We want to write a little SOAP client program that has the functionality to display a list of "Issues" that are returned
after applying a given "Filter" (something like search).
Now the service support returning the saved filters via the "getSavedFilters(String token)" method, and also can get a
particular issue if the "Id" of the "Issue" is known.

My question is how to accomplish this task? Is there some way this to be done (getting a list of "Issues" after applying a
given "Filter) with the current SOAP support?

Or if you can point me to another way to accomplish this task I will be thankful.

Best Regards,
Ivan Rangelov

p.s.
please respond



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Ernest Wong added a comment - 05/Apr/05 12:02 AM
Hi Ivan,

You should be able to find what you are after in the SOAP Client Tutorial:

http://confluence.atlassian.com/display/JIRA/Creating+a+SOAP+Client+Tutorial

Please let us know if we can be of further assistance.

Cheers
Ernest


Sebastian J added a comment - 01/Jun/05 12:55 PM
Ernest, that link is not really helpful. I think Ivan knows how to setup a soap client.

Currently soap has a way to retrieve ONE issue if you know the issue key, but there is no way to retrieve the issue keys using soap. Also there is no way to get a group of issues in a project either.

I would like ot see something like getProjectIssues(token, projectKey) to get all the issues from the project.


Anton Mazkovoi [Atlassian] added a comment - 02/Jun/05 03:35 AM
Hi Ivan and Sebastian,

You are absolutely right. There is curently no way to retrieve the results of a filter using SOAP. This is currently a feature request JRA-6858.

At the moment there is a way to get the results of a filter via a direct HTTP GET request. Please have a look at:
http://www.atlassian.com/software/jira/docs/v3.2/navigatorviews.html

If you append &os_username=<username>&os_password=<password>

and substitute the correct username and password you will be able to execute the search as a particular user.

I hope this helps. Please let us know if you have any other questions or would like more information. Otheriwse please resolve this issue.

Thanks,
Anton


Sebastian J added a comment - 03/Jun/05 06:38 AM
thanks! that's interesting, but it's not very good to have the password in plain text like that. I think it would be better to have a function like getProjectIssues(roken, projectKey).

however, you can use getIssue(token, issueKey) and just run through a loop producing keys. so that works.


Mark Chaimungkalanont [Atlassian] added a comment - 06/Jun/05 02:30 AM
Guys,

I've just written a getIssues method that will return all issues for a given filter. This should be available with the 3.2.1 release. We'll also try to get it out before as a standalone plugin.

You can keep an eye on the progress at:

http://confluence.atlassian.com/display/JIRAEXT/JIRA+RPC+plugin

Cheers

Mark C


Ivan Rangelov added a comment - 21/Sep/05 08:45 AM
>thanks! that's interesting, but it's not very good to have the password in plain text like that. I think it would be better to >have a function like getProjectIssues(roken, projectKey).
>however, you can use getIssue(token, issueKey) and just run through a loop producing keys. so that works.

Yes I ended up with this idea - it is working but the application now require log time to run through all the project issues

> Guys,
>
>I've just written a getIssues method that will return all issues for a given filter. This should be available with the 3.2.1 >release. We'll also try to get it out before as a standalone plugin.
>
>You can keep an eye on the progress at:
>
>http://confluence.atlassian.com/display/JIRAEXT/JIRA+RPC+plugin
>
>Cheers
>
>Mark C

I've tested it and it is working fine, 10x


SOAP tester added a comment - 12/Jul/07 09:40 AM
e ke ja foste?