Class JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.model.JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder
- Enclosing class:
- JiraExpressionEvalRequestBeanContext
public static class JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the board that is available under theboardvariable when evaluating the expression.build()custom(List<CustomContextVariable> custom) Custom context variables and their types.customerRequest(Long customerRequest) The ID of the customer request that is available under thecustomerRequestvariable when evaluating the expression.serviceDesk(Long serviceDesk) The ID of the service desk that is available under theserviceDeskvariable when evaluating the expression.The ID of the sprint that is available under thesprintvariable when evaluating the expression.toString()
-
Method Details
-
board
public JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder board(Long board) The ID of the board that is available under theboardvariable when evaluating the expression.- Returns:
this.
-
custom
public JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder custom(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 ofuser,issue, orjsonvariable types.- Returns:
this.
-
customerRequest
public JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder customerRequest(Long customerRequest) The ID of the customer request that is available under thecustomerRequestvariable 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
public JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder issue(JiraExpressionEvalContextBeanIssue issue) - Returns:
this.
-
issues
public JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder issues(JiraExpressionEvalContextBeanIssues issues) - Returns:
this.
-
project
public JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder project(JiraExpressionEvalContextBeanProject project) - Returns:
this.
-
serviceDesk
public JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder serviceDesk(Long serviceDesk) The ID of the service desk that is available under theserviceDeskvariable when evaluating the expression.- Returns:
this.
-
sprint
public JiraExpressionEvalRequestBeanContext.JiraExpressionEvalRequestBeanContextBuilder sprint(Long sprint) The ID of the sprint that is available under thesprintvariable when evaluating the expression.- Returns:
this.
-
build
-
toString
-