Class IssueLinkSection
java.lang.Object
com.atlassian.jira.pageobjects.pages.viewissue.link.IssueLinkSection
Represents the issue links section.
- Since:
- v5.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticateLink
(IssueLink issueLink) Click the "Authenticate" link for a remote issue that requires an OAuth token.deleteLink
(IssueLink issueLink) Click the "Show more" link to expand the list of issue links.getLinkByTitle
(String title) Returns the issue link with the given title.getLinks()
getLinks
(IssueLinkSection.LinkSourceType sourceType, String relationship) Returns the links for the source and relationship.Returns the links for the source.Returns the relationships.Click the "Show more" link to expand the list of issue links.void
boolean
-
Constructor Details
-
IssueLinkSection
-
-
Method Details
-
waitUntilLoaded
public void waitUntilLoaded() -
getRelationships
Returns the relationships. E.g. "blocked by" or "relates to".- Returns:
- list of relationships
-
getLinks
-
getLinkByTitle
Returns the issue link with the given title. If there are multiple issue links with the same title, the first one is returned. If no issue link is found, null is returned.- Parameters:
title
- the issue link title- Returns:
- the issue link with the given title
-
getLinksForSource
Returns the links for the source. Returns empty list if the source could not be found.- Parameters:
source
- source of the links- Returns:
- links for the source
-
getLinks
Returns the links for the source and relationship. Returns empty list if the source or relationship could not be found.- Parameters:
sourceType
- source type of the linksrelationship
- E.g. "blocked by"- Returns:
- links for the source and relationship
-
deleteLink
-
expandLinks
Click the "Show more" link to expand the list of issue links.- Returns:
- this
-
scrollIntoViewAndExpandLinks
Click the "Show more" link to expand the list of issue links. It will scroll the show more link into view before clicking it. If the viewport is scrolled, it will not be scrolled back afterward.- Returns:
- this
-
authenticateLink
Click the "Authenticate" link for a remote issue that requires an OAuth token.- Parameters:
issueLink
- the issue link to authenticate
-
warningsPresent
public boolean warningsPresent()
-