java.lang.Object | |
↳ | com.atlassian.jira.issue.link.DefaultIssueLinkManager |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Changes the type of an issue link.
| |||||||||||
Clears the Issue Link cache used by the Issue Link Manager.
| |||||||||||
Constructs a new issuelink from the sourceIssueId to the destinationId and persists it.
| |||||||||||
Get links to an issue.
| |||||||||||
Retrieves an issue link given a source, destination and a link type.
| |||||||||||
Returns the
IssueLink with the specified id. | |||||||||||
Returns a collection of all
IssueLink s for a particular issue link type | |||||||||||
Constructs a
LinkCollection for a given issue. | |||||||||||
Constructs a
LinkCollection for a given issue. | |||||||||||
Constructs a
LinkCollection for a given issue, ignoring security. | |||||||||||
Get links from an issue.
| |||||||||||
Returns whether Issue Linking is currently enabled in JIRA.
| |||||||||||
Moves an issue link to a different position in the list of issuelink.
| |||||||||||
Removes a single issue link
We do not check for permission here.
| |||||||||||
Removes ALL incoming and outgoing issuelinks from the issue supplied.
| |||||||||||
Removes ALL incoming and outgoing issuelinks from the issue supplied.
| |||||||||||
Removes ALL incoming and outgoing issuelinks from the issue supplied without creating ChangeItems for the Change History.
| |||||||||||
Sets the sequence number for each issueLink in the List of issueLinks provided
according to its position in the List.
| |||||||||||
This method wil be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.extension.Startable
| |||||||||||
From interface
com.atlassian.jira.issue.link.IssueLinkManager
|
Changes the type of an issue link. NOTE: It is not possible to convert a system link type to a non-system link type and vice versa.
RemoveException |
---|
Clears the Issue Link cache used by the Issue Link Manager.
Constructs a new issuelink from the sourceIssueId to the destinationId and persists it. This operation will cause a re-index of the associated issues.
sourceId | The source issue. |
---|---|
destinationId | The destination issue. |
issueLinkTypeId | The type of issuelink |
sequence | In which order the link will appear in the UI |
remoteUser | Needed for creation of change items. |
CreateException |
---|
Retrieves an issue link given a source, destination and a link type.
IssueLink
Constructs a LinkCollection
for a given issue.
issue | the issue |
---|---|
remoteUser | the user performing the search |
LinkCollection
with all the issues ingoing and outgoing issue linksConstructs a LinkCollection
for a given issue.
LinkCollection
with all the issues ingoing and outgoing issue linksConstructs a LinkCollection
for a given issue, ignoring security.
issue | the issue |
---|
LinkCollection
with all the issues ingoing and outgoing issue linksReturns whether Issue Linking is currently enabled in JIRA. Issue Linking can be enabled or disabled in the Admin section of JIRA.
Moves an issue link to a different position in the list of issuelink. NOTE: This is currently only used when re-ordering sub-tasks.
issueLinks | The list of issueLinks |
---|---|
currentSequence | The postion of the issuelink about to be moved |
sequence | The target position of the issuelink |
Removes a single issue link We do not check for permission here. It should be done before this method is called. For example, in the action.
issueLink | the issue link to remove |
---|---|
remoteUser | needed for creation of change items |
RemoveException |
---|
Removes ALL incoming and outgoing issuelinks from the issue supplied.
RemoveException |
---|
Removes ALL incoming and outgoing issuelinks from the issue supplied.
RemoveException |
---|
Removes ALL incoming and outgoing issuelinks from the issue supplied without creating ChangeItems for the Change History.
You would normally want to use the other method which creates the ChangeItems - this method is only intended for use during Issue Delete.
RemoveException |
---|
Sets the sequence number for each issueLink in the List of issueLinks provided according to its position in the List.
issueLinks | A list of issue links to be recalculated |
---|
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
Exception |
---|