Class CreateIssueOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.CreateIssueOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class CreateIssueOperationSpec extends Object
CreateIssueSpec

Specification for the CreateIssue operation.

Create issue

  • Field Details

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Constructor Details

    • CreateIssueOperationSpec

      @Internal public CreateIssueOperationSpec(Consumer<CreateIssueOperationSpec> spec)
      Constructs a validated instance of CreateIssueOperationSpec.
      Parameters:
      spec - the specification to process
    • CreateIssueOperationSpec

      @Internal public CreateIssueOperationSpec(IssueUpdateDetails issueUpdateDetails, Boolean updateHistory)
      Constructs a validated instance of CreateIssueOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameters:
      issueUpdateDetails -
      updateHistory - Whether the project in which the issue is created is added to the user's **Recently viewed** project list, as shown under **Projects** in Jira. When provided, the issue type and request type are added to the user's history for a project. These values are then used to provide defaults on the issue create screen.
    • CreateIssueOperationSpec

      protected CreateIssueOperationSpec()
  • Method Details

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Throws:
      NullPointerException
    • builder

    • issueUpdateDetails

      @NotNull public @NotNull IssueUpdateDetails issueUpdateDetails()
    • updateHistory

      @Nullable public @Nullable Boolean updateHistory()
      Whether the project in which the issue is created is added to the user's **Recently viewed** project list, as shown under **Projects** in Jira. When provided, the issue type and request type are added to the user's history for a project. These values are then used to provide defaults on the issue create screen.
    • issueUpdateDetails

      public CreateIssueOperationSpec issueUpdateDetails(@NotNull @NotNull IssueUpdateDetails issueUpdateDetails)
      Returns:
      this.
    • updateHistory

      public CreateIssueOperationSpec updateHistory(@Nullable @Nullable Boolean updateHistory)
      Whether the project in which the issue is created is added to the user's **Recently viewed** project list, as shown under **Projects** in Jira. When provided, the issue type and request type are added to the user's history for a project. These values are then used to provide defaults on the issue create screen.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object