Class GetIssueOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetIssueOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetIssueOperationSpec
extends Object
GetIssueSpec
Specification for the GetIssue operation.
Get issue
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetIssueOperationSpec(String issueIdOrKey, List<String> fields, Boolean fieldsByKeys, String expand, List<String> properties, Boolean updateHistory) Constructs a validated instance ofGetIssueOperationSpec.Constructs a validated instance ofGetIssueOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information about the issues in the response.Use [expand](#expansion) to include additional information about the issues in the response.fields()A list of fields to return for the issue.A list of fields to return for the issue.@Nullable BooleanWhether fields infieldsare referenced by keys rather than IDs.fieldsByKeys(@Nullable Boolean fieldsByKeys) Whether fields infieldsare referenced by keys rather than IDs.inthashCode()@NotNull StringThe ID or key of the issue.issueIdOrKey(@NotNull String issueIdOrKey) The ID or key of the issue.A list of issue properties to return for the issue.properties(@Nullable List<String> properties) A list of issue properties to return for the issue.toString()@Nullable BooleanWhether the project in which the issue is created is added to the user's **Recently viewed** project list, as shown under **Projects** in Jira.updateHistory(@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.voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetIssueOperationSpec
Constructs a validated instance ofGetIssueOperationSpec.- Parameters:
spec- the specification to process
-
GetIssueOperationSpec
@Internal public GetIssueOperationSpec(String issueIdOrKey, List<String> fields, Boolean fieldsByKeys, String expand, List<String> properties, Boolean updateHistory) Constructs a validated instance ofGetIssueOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey- The ID or key of the issue.fields- A list of fields to return for the issue. This parameter accepts a comma-separated list. Use it to retrieve a subset of fields. Allowed values: **allReturns all fields. **navigableReturns navigable fields. * Any issue field, prefixed with a minus to exclude. Examples: *summary,commentReturns only the summary and comments fields. *-descriptionReturns all (default) fields except description. **navigable,-commentReturns all navigable fields except comment. This parameter may be specified multiple times. For example,fields=field1,field2& fields=field3. Note: All fields are returned by default. This differs from [Search for issues using JQL (GET)](#api-rest-api-2-search-get) and [Search for issues using JQL (POST)](#api-rest-api-2-search-post) where the default is all navigable fields.fieldsByKeys- Whether fields infieldsare referenced by keys rather than IDs. This parameter is useful where fields have been added by a connect app and a field's key may differ from its ID.expand- Use [expand](#expansion) to include additional information about the issues in the response. This parameter accepts a comma-separated list. Expand options include: *renderedFieldsReturns field values rendered in HTML format. *namesReturns the display name of each field. *schemaReturns the schema describing a field type. *transitionsReturns all possible transitions for the issue. *editmetaReturns information about how each field can be edited. *changelogReturns a list of recent updates to an issue, sorted by date, starting from the most recent. *versionedRepresentationsReturns a JSON array for each version of a field's value, with the highest number representing the most recent version. Note: When included in the request, thefieldsparameter is ignored.properties- A list of issue properties to return for the issue. This parameter accepts a comma-separated list. Allowed values: **allReturns all issue properties. * Any issue property key, prefixed with a minus to exclude. Examples: **allReturns all properties. **all,-prop1Returns all properties exceptprop1. *prop1,prop2Returnsprop1andprop2properties. This parameter may be specified multiple times. For example,properties=prop1,prop2& properties=prop3.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. This also populates the [JQL issues search](#api-rest-api-2-search-get)lastViewedfield.
-
GetIssueOperationSpec
protected GetIssueOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
issueIdOrKey
The ID or key of the issue. -
fields
A list of fields to return for the issue. This parameter accepts a comma-separated list. Use it to retrieve a subset of fields. Allowed values: **allReturns all fields. **navigableReturns navigable fields. * Any issue field, prefixed with a minus to exclude. Examples: *summary,commentReturns only the summary and comments fields. *-descriptionReturns all (default) fields except description. **navigable,-commentReturns all navigable fields except comment. This parameter may be specified multiple times. For example,fields=field1,field2& fields=field3. Note: All fields are returned by default. This differs from [Search for issues using JQL (GET)](#api-rest-api-2-search-get) and [Search for issues using JQL (POST)](#api-rest-api-2-search-post) where the default is all navigable fields. -
fieldsByKeys
Whether fields infieldsare referenced by keys rather than IDs. This parameter is useful where fields have been added by a connect app and a field's key may differ from its ID. -
expand
Use [expand](#expansion) to include additional information about the issues in the response. This parameter accepts a comma-separated list. Expand options include: *renderedFieldsReturns field values rendered in HTML format. *namesReturns the display name of each field. *schemaReturns the schema describing a field type. *transitionsReturns all possible transitions for the issue. *editmetaReturns information about how each field can be edited. *changelogReturns a list of recent updates to an issue, sorted by date, starting from the most recent. *versionedRepresentationsReturns a JSON array for each version of a field's value, with the highest number representing the most recent version. Note: When included in the request, thefieldsparameter is ignored. -
properties
A list of issue properties to return for the issue. This parameter accepts a comma-separated list. Allowed values: **allReturns all issue properties. * Any issue property key, prefixed with a minus to exclude. Examples: **allReturns all properties. **all,-prop1Returns all properties exceptprop1. *prop1,prop2Returnsprop1andprop2properties. This parameter may be specified multiple times. For example,properties=prop1,prop2& properties=prop3. -
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. This also populates the [JQL issues search](#api-rest-api-2-search-get)lastViewedfield. -
issueIdOrKey
The ID or key of the issue.- Returns:
this.
-
fields
A list of fields to return for the issue. This parameter accepts a comma-separated list. Use it to retrieve a subset of fields. Allowed values: **allReturns all fields. **navigableReturns navigable fields. * Any issue field, prefixed with a minus to exclude. Examples: *summary,commentReturns only the summary and comments fields. *-descriptionReturns all (default) fields except description. **navigable,-commentReturns all navigable fields except comment. This parameter may be specified multiple times. For example,fields=field1,field2& fields=field3. Note: All fields are returned by default. This differs from [Search for issues using JQL (GET)](#api-rest-api-2-search-get) and [Search for issues using JQL (POST)](#api-rest-api-2-search-post) where the default is all navigable fields.- Returns:
this.
-
fieldsByKeys
Whether fields infieldsare referenced by keys rather than IDs. This parameter is useful where fields have been added by a connect app and a field's key may differ from its ID.- Returns:
this.
-
expand
Use [expand](#expansion) to include additional information about the issues in the response. This parameter accepts a comma-separated list. Expand options include: *renderedFieldsReturns field values rendered in HTML format. *namesReturns the display name of each field. *schemaReturns the schema describing a field type. *transitionsReturns all possible transitions for the issue. *editmetaReturns information about how each field can be edited. *changelogReturns a list of recent updates to an issue, sorted by date, starting from the most recent. *versionedRepresentationsReturns a JSON array for each version of a field's value, with the highest number representing the most recent version. Note: When included in the request, thefieldsparameter is ignored.- Returns:
this.
-
properties
A list of issue properties to return for the issue. This parameter accepts a comma-separated list. Allowed values: **allReturns all issue properties. * Any issue property key, prefixed with a minus to exclude. Examples: **allReturns all properties. **all,-prop1Returns all properties exceptprop1. *prop1,prop2Returnsprop1andprop2properties. This parameter may be specified multiple times. For example,properties=prop1,prop2& properties=prop3.- Returns:
this.
-
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. This also populates the [JQL issues search](#api-rest-api-2-search-get)lastViewedfield.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-