Class LinkJiraIssue

All Implemented Interfaces:
OperationContext, ErrorCollection, I18nHelper, IssueSummaryAware, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class LinkJiraIssue extends AbstractIssueLinkAction
Links an issue to an issue from a remote JIRA server.
Since:
5.0
See Also:
  • Constructor Details

  • Method Details

    • isValidToView

      public boolean isValidToView()
      Description copied from class: AbstractIssueLinkAction
      Returns true if the contents of the action should be shown, false if otherwise.
      Overrides:
      isValidToView in class AbstractIssueLinkAction
      Returns:
      true if the contents of the action should be shown, false if otherwise
    • doValidation

      protected void doValidation()
      Description copied from class: AbstractIssueLinkAction
      Validate that the user has permission to link issues, and that the comment field is valid. Override this method to perform validation specific to the concrete action. It is recommended that this method be invoked by any overriding methods.
      Overrides:
      doValidation in class AbstractIssueLinkAction
    • doDefault

      public String doDefault() throws Exception
      Description copied from class: AbstractIssueLinkAction
      The "default" command. Checks that the current issue exists and that the user has permission to view it.
      Overrides:
      doDefault in class AbstractIssueLinkAction
      Returns:
      INPUT if success, ERROR if otherwise
      Throws:
      Exception
    • doExecute

      protected String doExecute()
      Overrides:
      doExecute in class webwork.action.ActionSupport
    • getLinkDesc

      public String getLinkDesc()
    • setLinkDesc

      public void setLinkDesc(String linkDesc)
    • getLinkDescs

      public Collection<String> getLinkDescs()
    • getLastUsedLinkType

      public String getLastUsedLinkType()
    • getInternalHostApplication

      public com.atlassian.applinks.host.spi.InternalHostApplication getInternalHostApplication()
    • getJiraAppLink

      public com.atlassian.applinks.api.ApplicationLink getJiraAppLink()
    • getJiraAppId

      public String getJiraAppId()
    • setJiraAppId

      public void setJiraAppId(String jiraAppId)
    • getJiraAppLinks

      public Collection<com.atlassian.applinks.api.ApplicationLink> getJiraAppLinks()
    • getIssueKeys

      public String[] getIssueKeys()
    • getRemoteIssueUrl

      public String getRemoteIssueUrl(String issueKey)
    • setIssueKeys

      public void setIssueKeys(String[] issueKeys)
    • isCreateReciprocal

      public boolean isCreateReciprocal()
    • setCreateReciprocal

      public void setCreateReciprocal(boolean createReciprocal)
    • getDefaultCreateReciprocal

      public boolean getDefaultCreateReciprocal()