|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EpicLinkManager
Access information about epic-issue relationships from the database level.
Method Summary | |
---|---|
void |
addChangeHistoryForAdd(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue child,
com.atlassian.jira.issue.Issue oldEpic,
com.atlassian.jira.issue.Issue newEpic)
Adds a change history entry on the child issue when the epic of that issue has been updated. |
void |
addChangeHistoryForRemove(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue child,
com.atlassian.jira.issue.Issue oldEpic)
Adds a change history entry on the child issue when the epic of that issue has been removed. |
ServiceOutcome<java.lang.Void> |
createLink(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue epic,
com.atlassian.jira.issue.Issue child)
Create an epic issue link between the specified epic and child. |
com.atlassian.fugue.Option<com.atlassian.jira.issue.Issue> |
getEpic(com.atlassian.jira.issue.Issue child)
Get the Epic of an issue, if one exists, by performing a database lookup of an issue's links. |
ServiceOutcome<com.atlassian.fugue.Option<com.atlassian.jira.issue.Issue>> |
removeLinkedEpic(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue child)
Removes existing link to epic from a child issue (if it exists) |
Method Detail |
---|
@Nonnull com.atlassian.fugue.Option<com.atlassian.jira.issue.Issue> getEpic(com.atlassian.jira.issue.Issue child)
child
- the issue
@Nonnull ServiceOutcome<com.atlassian.fugue.Option<com.atlassian.jira.issue.Issue>> removeLinkedEpic(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue child)
user
- the user removing the linkchild
- the child issue to remove the epic from
@Nonnull ServiceOutcome<java.lang.Void> createLink(com.atlassian.crowd.embedded.api.User user, com.atlassian.jira.issue.Issue epic, com.atlassian.jira.issue.Issue child)
user
- the userepic
- the epicchild
- the child issue
void addChangeHistoryForAdd(com.atlassian.crowd.embedded.api.User user, @Nonnull com.atlassian.jira.issue.Issue child, @Nullable com.atlassian.jira.issue.Issue oldEpic, @Nonnull com.atlassian.jira.issue.Issue newEpic)
user
- the user performing the changechild
- the issue being changedoldEpic
- its old epic (may be null)newEpic
- its new epic (may not be null)void addChangeHistoryForRemove(com.atlassian.crowd.embedded.api.User user, @Nonnull com.atlassian.jira.issue.Issue child, @Nonnull com.atlassian.jira.issue.Issue oldEpic)
user
- the user performing the changechild
- the issue being changedoldEpic
- its old epic (may be null)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |