Class TransitionInput

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

public class TransitionInput extends Object
Input data used while transitioning an issue including new values for this issue and the optional comment.
Since:
v0.1
  • Constructor Details

    • TransitionInput

      public TransitionInput(int id, Collection<FieldInput> fields)
      Parameters:
      id - id of the issue transition which should be performed
      fields - new values for the issue fields. Use empty collection if no fields are to be changed
    • TransitionInput

      public TransitionInput(int id, Collection<FieldInput> fields, @Nullable Comment comment)
      Parameters:
      id - id of the issue transition which should be performed
      fields - new values for the issue fields. Use empty collection if no fields are to be changed
      comment - optional comment
    • TransitionInput

      public TransitionInput(int id, @Nullable Comment comment)
      Parameters:
      id - id of the issue transition which should be performed
      comment - optional comment
    • TransitionInput

      public TransitionInput(int id)
  • Method Details

    • getId

      public int getId()
      Returns:
      id of the issue transition which should be performed
    • getComment

      @Nullable public Comment getComment()
    • getFields

      public Iterable<FieldInput> getFields()