public class

IssueLinkSection

extends Object
java.lang.Object
   ↳ com.atlassian.jira.pageobjects.pages.viewissue.link.IssueLinkSection

Class Overview

Represents the issue links section.

Summary

Nested Classes
enum IssueLinkSection.LinkSourceType  
Public Constructors
IssueLinkSection(String issueKey)
Public Methods
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(IssueLinkSection.LinkSourceType sourceType, String relationship)
Returns the links for the source and relationship.
List<IssueLink> getLinks()
List<IssueLink> getLinksForSource(IssueLinkSection.LinkSourceType source)
Returns the links for the source.
List<String> getRelationships()
Returns the relationships.
void waitUntilLoaded()
boolean warningsPresent()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public IssueLinkSection (String issueKey)

Public Methods

public void authenticateLink (IssueLink issueLink)

Click the "Authenticate" link for a remote issue that requires an OAuth token.

Parameters
issueLink the issue link to authenticate

public DeleteLinkConfirmationDialog deleteLink (IssueLink issueLink)

public IssueLinkSection expandLinks ()

public IssueLink getLinkByTitle (String title)

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

public List<IssueLink> getLinks (IssueLinkSection.LinkSourceType sourceType, String relationship)

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 links
relationship E.g. "blocked by"
Returns
  • links for the source and relationship

public List<IssueLink> getLinks ()

public List<IssueLink> getLinksForSource (IssueLinkSection.LinkSourceType source)

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

public List<String> getRelationships ()

Returns the relationships. E.g. "blocked by" or "relates to".

Returns
  • list of relationships

public void waitUntilLoaded ()

public boolean warningsPresent ()