Class JiraExpressionEvalRequestBeanContext

java.lang.Object
io.github.primelib.jira4j.restv2.model.JiraExpressionEvalRequestBeanContext

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class JiraExpressionEvalRequestBeanContext extends Object
JiraExpressionEvalRequestBeanContext
  • Field Details

    • board

      protected Long board
      The ID of the board that is available under the board variable when evaluating the expression.
    • custom

      protected List<CustomContextVariable> custom
      Custom context variables and their types. These variable types are available for use in a custom context: * user: A [user](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#user) specified as an Atlassian account ID. * issue: An [issue](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#issue) specified by ID or key. All the fields of the issue object are available in the Jira expression. * json: A JSON object containing custom content. * list: A JSON list of user, issue, or json variable types.
    • customerRequest

      protected Long customerRequest
      The ID of the customer request that is available under the customerRequest variable when evaluating the expression. This is the same as the ID of the underlying Jira issue, but the customer request context variable will have a different type.
    • issue

    • issues

    • project

    • serviceDesk

      protected Long serviceDesk
      The ID of the service desk that is available under the serviceDesk variable when evaluating the expression.
    • sprint

      protected Long sprint
      The ID of the sprint that is available under the sprint variable when evaluating the expression.
  • Constructor Details

    • JiraExpressionEvalRequestBeanContext

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

      @Internal public JiraExpressionEvalRequestBeanContext(Long board, List<CustomContextVariable> custom, Long customerRequest, JiraExpressionEvalContextBeanIssue issue, JiraExpressionEvalContextBeanIssues issues, JiraExpressionEvalContextBeanProject project, Long serviceDesk, Long sprint)
      Constructs a validated instance of JiraExpressionEvalRequestBeanContext.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using JiraExpressionEvalRequestBeanContext(Consumer) instead.

      Parameters:
      board - The ID of the board that is available under the board variable when evaluating the expression.
      custom - Custom context variables and their types. These variable types are available for use in a custom context: * user: A [user](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#user) specified as an Atlassian account ID. * issue: An [issue](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#issue) specified by ID or key. All the fields of the issue object are available in the Jira expression. * json: A JSON object containing custom content. * list: A JSON list of user, issue, or json variable types.
      customerRequest - The ID of the customer request that is available under the customerRequest variable when evaluating the expression. This is the same as the ID of the underlying Jira issue, but the customer request context variable will have a different type.
      issue - issue
      issues - issues
      project - project
      serviceDesk - The ID of the service desk that is available under the serviceDesk variable when evaluating the expression.
      sprint - The ID of the sprint that is available under the sprint variable when evaluating the expression.
    • JiraExpressionEvalRequestBeanContext

      protected JiraExpressionEvalRequestBeanContext()
  • Method Details

    • builder

    • board

      public Long board()
      The ID of the board that is available under the board variable when evaluating the expression.
    • custom

      public List<CustomContextVariable> custom()
      Custom context variables and their types. These variable types are available for use in a custom context: * user: A [user](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#user) specified as an Atlassian account ID. * issue: An [issue](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#issue) specified by ID or key. All the fields of the issue object are available in the Jira expression. * json: A JSON object containing custom content. * list: A JSON list of user, issue, or json variable types.
    • customerRequest

      public Long customerRequest()
      The ID of the customer request that is available under the customerRequest variable when evaluating the expression. This is the same as the ID of the underlying Jira issue, but the customer request context variable will have a different type.
    • issue

    • issues

    • project

    • serviceDesk

      public Long serviceDesk()
      The ID of the service desk that is available under the serviceDesk variable when evaluating the expression.
    • sprint

      public Long sprint()
      The ID of the sprint that is available under the sprint variable when evaluating the expression.
    • board

      The ID of the board that is available under the board variable when evaluating the expression.
      Returns:
      this.
    • custom

      Custom context variables and their types. These variable types are available for use in a custom context: * user: A [user](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#user) specified as an Atlassian account ID. * issue: An [issue](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#issue) specified by ID or key. All the fields of the issue object are available in the Jira expression. * json: A JSON object containing custom content. * list: A JSON list of user, issue, or json variable types.
      Returns:
      this.
    • customerRequest

      public JiraExpressionEvalRequestBeanContext customerRequest(Long customerRequest)
      The ID of the customer request that is available under the customerRequest variable when evaluating the expression. This is the same as the ID of the underlying Jira issue, but the customer request context variable will have a different type.
      Returns:
      this.
    • issue

      Returns:
      this.
    • issues

      Returns:
      this.
    • project

      Returns:
      this.
    • serviceDesk

      public JiraExpressionEvalRequestBeanContext serviceDesk(Long serviceDesk)
      The ID of the service desk that is available under the serviceDesk variable when evaluating the expression.
      Returns:
      this.
    • sprint

      The ID of the sprint that is available under the sprint variable when evaluating the expression.
      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