|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JiraBranchLinkingService
Method Summary | |
---|---|
JiraIssueDetails |
createRemoteLinkToBranch(ImmutableChainBranch branch,
java.lang.String issueKey)
Creates a remote link from the issue to the branch. |
java.lang.String |
findIssueKeyToLink(ImmutableChainBranch branch)
Looks for an issue key in plan branch name or vcs branch name. |
void |
linkBranchToIssueIfRequiredAsync(PlanKey planKey,
java.lang.String username)
Looks for an issue key in the branch name. |
Method Detail |
---|
void linkBranchToIssueIfRequiredAsync(@NotNull PlanKey planKey, @Nullable java.lang.String username)
ChainBranchIdentifier.isRemoteJiraLinkRequired()
to see if remote link succeeded.
planKey
- of branch to linkusername
- (optional) to use for authentication if possible/required@NotNull JiraIssueDetails createRemoteLinkToBranch(@NotNull ImmutableChainBranch branch, @NotNull java.lang.String issueKey) throws RemoteLinkCreationFailedException, CredentialsRequiredContextException
branch
- to linkissueKey
- of the issue to link
RemoteLinkCreationFailedException
- if creation of the remote link in jira fails
CredentialsRequiredContextException
- if authentication is required to create the remote link in JIRA.@Nullable java.lang.String findIssueKeyToLink(@NotNull ImmutableChainBranch branch)
branch
- to find the issue for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |