Class CreateNewJiraIssueForTestAction

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class CreateNewJiraIssueForTestAction extends AbstractCreateNewJiraIssueAction
See Also:
  • Constructor Details

    • CreateNewJiraIssueForTestAction

      public CreateNewJiraIssueForTestAction()
  • Method Details

    • getJsonObject

      @NotNull public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
      Description copied from class: BambooActionSupport
      This is default property read by webwork for webwork's result type "json".
      Overrides:
      getJsonObject in class AbstractCreateNewJiraIssueAction
      Returns:
      Throws:
      com.opensymphony.webwork.dispatcher.json.JSONException
      See Also:
      • JSON Result

        If descending classes need to add anything to JSON response these should override #buildJsonObject() method.

    • validate

      public void validate()
      Specified by:
      validate in interface com.opensymphony.xwork2.Validateable
      Overrides:
      validate in class com.opensymphony.xwork2.ActionSupport
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class AbstractCreateNewJiraIssueAction
      Throws:
      Exception
    • createIssueLinkData

      protected com.opensymphony.webwork.dispatcher.json.JSONObject createIssueLinkData(@NotNull @NotNull com.atlassian.applinks.api.ApplicationLink applicationLink, @NotNull @NotNull String issueKey, @NotNull @NotNull ResultsSummary resultsSummary) throws Exception
      Specified by:
      createIssueLinkData in class AbstractCreateNewJiraIssueAction
      Throws:
      Exception
    • getTestCaseId

      public long getTestCaseId()
    • setTestCaseId

      public void setTestCaseId(long testCaseId)