public class IssueLinkSection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IssueLinkSection.LinkSourceType |
Constructor and Description |
---|
IssueLinkSection(String issueKey) |
Modifier and Type | Method and Description |
---|---|
void |
authenticateLink(IssueLink issueLink)
Click the "Authenticate" link for a remote issue that requires an OAuth token.
|
DeleteLinkConfirmationDialog |
deleteLink(IssueLink issueLink) |
IssueLinkSection |
expandLinks() |
IssueLink |
getLinkByTitle(String title)
Returns the issue link with the given title.
|
List<IssueLink> |
getLinks() |
List<IssueLink> |
getLinks(IssueLinkSection.LinkSourceType sourceType,
String relationship)
Returns the links for the source and relationship.
|
List<IssueLink> |
getLinksForSource(IssueLinkSection.LinkSourceType source)
Returns the links for the source.
|
List<String> |
getRelationships()
Returns the relationships.
|
void |
waitUntilLoaded() |
boolean |
warningsPresent() |
public IssueLinkSection(String issueKey)
public void waitUntilLoaded()
public List<String> getRelationships()
public IssueLink getLinkByTitle(String title)
title
- the issue link titlepublic List<IssueLink> getLinksForSource(IssueLinkSection.LinkSourceType source)
source
- source of the linkspublic List<IssueLink> getLinks(IssueLinkSection.LinkSourceType sourceType, String relationship)
sourceType
- source type of the linksrelationship
- E.g. "blocked by"public DeleteLinkConfirmationDialog deleteLink(IssueLink issueLink)
public IssueLinkSection expandLinks()
public void authenticateLink(IssueLink issueLink)
issueLink
- the issue link to authenticatepublic boolean warningsPresent()
Copyright © 2002-2022 Atlassian. All Rights Reserved.