New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: JRA-7614
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Michael Rudorfer
Votes: 38
Watchers: 25
Operations

If you were logged in you would be able to see more operations.
JIRA

Ability to access and create link information via SOAP

Created: 11/Aug/05 08:33 AM   Updated: 26/May/08 06:08 AM
Component/s: Remote API (SOAP & XML-RPC)
Affects Version/s: 3.2.2
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive IssueLinks-XmlRpc-Addition.zip (11 kB)


Participants: Anton Mazkovoi [Atlassian], Brett Jackson [Atlassian], Daniel Lindner, Denis Antipov, Derrick Karimi, Greg Warden, Igor Sereda, Kip Streithorst, Ludovic condaminet, Michael Rudorfer, Nick Menere [Atlassian], Robert Mathews, Simon Taylor and Stephen Nutt
Since last comment: 18 weeks, 3 days ago
Support reference count: 4
Labels:


 Description  « Hide
I would like to acces the link information between issues via the SOAP API.

So there should be a class similar to "RemoteIssue", let's say "RemoteLink" that covers the details of the links (type, source issue, target issue).

A method
public RemoteLink[] getLinks()
should be added to the RemoteIssue-Class, maybe with some convenience methods that do some filtering (like getLinks(LinkType type) that only return certain Links.

Or maybe it could be wrapped, so that the links are followed immediately without the step over the Links
public RemoteIssue[] getIssues (LinkType which);
that returns all linked issues that are linked via the linktype LinkType.

It should also be possible to create Links, either explicitly:
Link l = new Link (RemoteIssue from, RemoteIssue to, LinkType type)

or directly on the RemoteIssue class.

I would really be happy to see a feature like this in one of the next Jira versions.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Nick Menere [Atlassian] added a comment - 11/Aug/05 07:32 PM
Thanks for your suggestion Michael. As you know we are always imroving our SOAP interface so I don't think it will be too long before this kind of thing gets don.

Cheers,
Nick


Kip Streithorst added a comment - 07/Sep/05 08:06 AM
This is a zip file included updated source files a new class to allow some issue linking operations across the SOAP interface. It is based off of XML-RPC 3.3-2 source code.

Ludovic condaminet added a comment - 19/Apr/06 09:27 AM
I would like too created link betwwen issues via Soap.
So I would like to know if modification have been done or will be done soon.

Robert Mathews added a comment - 19/Apr/06 10:02 AM
Ludovic: looks like this is scheduled to be fixed in JIRA 3.7, which is 3 releases out there. If you want it to happen earlier, why don't you vot e for this issue ...

Greg Warden added a comment - 19/Apr/06 12:28 PM
3.6 was just released. So it should be in the next version.

Igor Sereda added a comment - 21/Aug/06 07:38 AM
To be able to create a link remotely, we also will need all available link types:

LinkType[] getLinkTypes();


Igor Sereda added a comment - 18/Oct/06 05:31 AM
Suggested methods are not enough. I've taken a look at the attached file. In JiraSoapService, there are the following methods:

==================
public RemoteIssue[] getAllLinkedIssues(String token, String issueKey) throws RemotePermissionException, RemoteAuthenticationException, RemoteException;

public RemoteIssue[] getLinkedIssues(String token, String issueKey, String linkName, boolean outward) throws RemotePermissionException, RemoteAuthenticationException, RemoteException;
==================

The problem with the first method is that though I get all linked issues, I can't tell through which link are they connected.

The problem with the second method is that if I have N link types in the system, I'll have to call this method 2N times to collect all the information about what issues are linked and how.

Why don't you create the following method instead?

===================

public RemoteLink[] getIssueLinks(String token, String issueKey) throws blablabla;

public class RemoteLink { private RemoteLinkType linkType; private int sourceIssueId; private String sourceIssueKey; private int targetIssueId; private String targetIssueKey; .... }

====================


Daniel Lindner added a comment - 29/May/07 09:15 AM
I would be very happy to have read access to the issue links as described by Igor Sereda.

As there is only the possibility to patch the SOAPService myself, thats the way to go. Its sad though that this issue "wont take long" since 2005 now.


Denis Antipov added a comment - 13/Jun/07 02:18 AM
Atlassians,

are there any updates on this feature implementation? It would be extremely helpful to at least have read access to issue links via SOAP.

thanks in advance


Anton Mazkovoi [Atlassian] added a comment - 14/Jun/07 03:14 AM
Denis,

At the moment I have no news. We are desparately trying to hire a Remote API developer for our San Francisco office to help us improve JIRA's remote API.

Cheers,
Anton


Denis Antipov added a comment - 18/Jun/07 02:36 AM - edited
How hard would it be to implement? has anyone attempted to do a temporary
fix or some fix that can potentially be included into the trunk of the next
release?

Brett Jackson [Atlassian] added a comment - 04/Oct/07 12:11 AM - edited
For everyone requesting a more complete implementation of a SOAP remote API.

We apologize for not keeping you better informed of our thinking on the feature. We will do our best to make sure we do in the future.

We do not have the feature scheduled for inclusion at this point however we are, as Anton mentions higher in the thread, currently working on building our API expertise and resources.

Once we have them on board we will be able to attack this.
To move on it right now is to risk delivering the extended capabilities in a compromised, potentially insecure or less than useful way which would be frustrating for you, demoralising fo us and potentially create more problems than it solved.

For the more technically orientated please note that the RPC plug-in source code is freely available and you can make any modifications to that code to achieve your required functionality.

Brett
Product Management
Atalassian


Simon Taylor added a comment - 25/Oct/07 03:36 PM
I too would benefit from the need to link issues

Stephen Nutt added a comment - 09/Apr/08 07:31 PM - edited
Has anyone modified the RPC plug-in source code to provide access to the links for 3.12?

Derrick Karimi added a comment - 21/Apr/08 03:55 PM
Please try to get this into the next release, we need it but don't want to hack in the hotfix. Also it would be nice if you could use Issue links as Query constraints.