Class LinkIssuesInput

java.lang.Object
com.atlassian.jira.rest.client.api.domain.input.LinkIssuesInput

public class LinkIssuesInput extends Object
Input parameters used for issue link creation.
  • Constructor Details

    • LinkIssuesInput

      public LinkIssuesInput(String fromIssueKey, String toIssueKey, String linkType, @Nullable Comment comment)
      Parameters:
      fromIssueKey - source issue key
      toIssueKey - destination issue key
      linkType - name of the link type (e.g. "Duplicate")
      comment - optional comment
    • LinkIssuesInput

      public LinkIssuesInput(String fromIssueKey, String toIssueKey, String linkType)
  • Method Details

    • getFromIssueKey

      public String getFromIssueKey()
      Returns:
      source issue key
    • getToIssueKey

      public String getToIssueKey()
      Returns:
      destination issue key
    • getComment

      @Nullable public Comment getComment()
      Returns:
      optional comment or null
    • getLinkType

      public String getLinkType()
      Returns:
      name of the link type (e.g. "Duplicate")