Using REST I can create an issue link: /api/2.0.alpha1/issueLink
Is it possible to delete an issue link using a similar method?
Community moderators have prevented the ability to post new answers.
The first solution I found to this was in the JIRA Command Line Interface
--action deletelink --issue XXX-1010 --toIssue XXX-1001 --link 'duplicates'
I didn't want to be dependent on a CLI call, so I dug into the code to find out what it was doing and came up with this:
http://jirahost:8080/secure/DeleteLink.jspa?id=10533&sourceId=10633&linkType=10733&confirm=true&Delete=Delete
...where:
id = Issue ID for the issue at the outbound end of the link.
sourceId = Issue ID for the issue at the inbound end of the link.
linkType = JIRA ID for the link type.
You can actually get most of this from capturing the link address on the 'Delete this link' link on the view issue page. All that is missing is the confirm and Delete values required to avoid the 'are you sure?' dialogue.
Good you found it. I guess I missed the question too. That is one of the actions that uses UI method until an official API is available - looks like 5.0 can do it better.
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.
Can't let a remote api question go by without referencing JIRA Command Line Interface :). In this case:
--action deleteIssue --issue xxx-111
For this function it uses SOAP and this interface has been available for many JIRA releases.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The ability to delete issue links will be available in the JIRA 5 REST API - http://docs.atlassian.com/jira/REST/5.0-rc2/#id3416289
Unfortunately the API does not expose this functionality in any earlier versions of JIRA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There's deleteIssue in the SOAP API, which you can also call from the browser using the json+rpc API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
oops sorry I didn't read the question properly.
This plugin http://code.google.com/p/shared-space/wiki/JiraExtendedWebservice make it available via soap, the method is unlinkIssue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to API, not at the moment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.