Klasse ReplaceIssueFieldOptionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.ReplaceIssueFieldOptionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ReplaceIssueFieldOptionOperationSpec
extends Object
ReplaceIssueFieldOptionSpec
Specification for the ReplaceIssueFieldOption operation.
Replace issue field option
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedReplaceIssueFieldOptionOperationSpec(String fieldKey, Long optionId, Long replaceWith, String jql, Boolean overrideScreenSecurity, Boolean overrideEditableFlag) Constructs a validated instance ofReplaceIssueFieldOptionOperationSpec.Constructs a validated instance ofReplaceIssueFieldOptionOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanboolean@NotNull StringfieldKey()The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**.The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**.inthashCode()@Nullable Stringjql()A JQL query that specifies the issues to be updated.A JQL query that specifies the issues to be updated.@NotNull LongoptionId()The ID of the option to be deselected.The ID of the option to be deselected.@Nullable BooleanWhether screen security is overridden to enable uneditable fields to be edited.overrideEditableFlag(@Nullable Boolean overrideEditableFlag) Whether screen security is overridden to enable uneditable fields to be edited.@Nullable BooleanWhether screen security is overridden to enable hidden fields to be edited.overrideScreenSecurity(@Nullable Boolean overrideScreenSecurity) Whether screen security is overridden to enable hidden fields to be edited.@Nullable LongThe ID of the option that will replace the currently selected option.replaceWith(@Nullable Long replaceWith) The ID of the option that will replace the currently selected option.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
ReplaceIssueFieldOptionOperationSpec
@Internal public ReplaceIssueFieldOptionOperationSpec(Consumer<ReplaceIssueFieldOptionOperationSpec> spec) Constructs a validated instance ofReplaceIssueFieldOptionOperationSpec.- Parameter:
spec- the specification to process
-
ReplaceIssueFieldOptionOperationSpec
@Internal public ReplaceIssueFieldOptionOperationSpec(String fieldKey, Long optionId, Long replaceWith, String jql, Boolean overrideScreenSecurity, Boolean overrideEditableFlag) Constructs a validated instance ofReplaceIssueFieldOptionOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
fieldKey- The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**. For example, *example-add-on\\_\\_example-issue-field*. To determine thefieldKeyvalue, do one of the following: * open the app's plugin descriptor, then **app-key** is the key at the top and **field-key** is the key in thejiraIssueFieldsmodule. **app-key** can also be found in the app listing in the Atlassian Universal Plugin Manager. * run [Get fields](#api-rest-api-2-field-get) and in the field details the value is returned inkey. For example,"key": "teams-add-on__team-issue-field"optionId- The ID of the option to be deselected.replaceWith- The ID of the option that will replace the currently selected option.jql- A JQL query that specifies the issues to be updated. For example, *project=10000*.overrideScreenSecurity- Whether screen security is overridden to enable hidden fields to be edited. Available to Connect and Forge app users with admin permission.overrideEditableFlag- Whether screen security is overridden to enable uneditable fields to be edited. Available to Connect and Forge app users with *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
-
ReplaceIssueFieldOptionOperationSpec
protected ReplaceIssueFieldOptionOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static ReplaceIssueFieldOptionOperationSpec.ReplaceIssueFieldOptionOperationSpecBuilder builder() -
fieldKey
The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**. For example, *example-add-on\\_\\_example-issue-field*. To determine thefieldKeyvalue, do one of the following: * open the app's plugin descriptor, then **app-key** is the key at the top and **field-key** is the key in thejiraIssueFieldsmodule. **app-key** can also be found in the app listing in the Atlassian Universal Plugin Manager. * run [Get fields](#api-rest-api-2-field-get) and in the field details the value is returned inkey. For example,"key": "teams-add-on__team-issue-field" -
optionId
The ID of the option to be deselected. -
replaceWith
The ID of the option that will replace the currently selected option. -
jql
A JQL query that specifies the issues to be updated. For example, *project=10000*. -
overrideScreenSecurity
Whether screen security is overridden to enable hidden fields to be edited. Available to Connect and Forge app users with admin permission. -
overrideEditableFlag
Whether screen security is overridden to enable uneditable fields to be edited. Available to Connect and Forge app users with *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). -
fieldKey
The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**. For example, *example-add-on\\_\\_example-issue-field*. To determine thefieldKeyvalue, do one of the following: * open the app's plugin descriptor, then **app-key** is the key at the top and **field-key** is the key in thejiraIssueFieldsmodule. **app-key** can also be found in the app listing in the Atlassian Universal Plugin Manager. * run [Get fields](#api-rest-api-2-field-get) and in the field details the value is returned inkey. For example,"key": "teams-add-on__team-issue-field"- Gibt zurück:
this.
-
optionId
The ID of the option to be deselected.- Gibt zurück:
this.
-
replaceWith
The ID of the option that will replace the currently selected option.- Gibt zurück:
this.
-
jql
A JQL query that specifies the issues to be updated. For example, *project=10000*.- Gibt zurück:
this.
-
overrideScreenSecurity
public ReplaceIssueFieldOptionOperationSpec overrideScreenSecurity(@Nullable @Nullable Boolean overrideScreenSecurity) Whether screen security is overridden to enable hidden fields to be edited. Available to Connect and Forge app users with admin permission.- Gibt zurück:
this.
-
overrideEditableFlag
public ReplaceIssueFieldOptionOperationSpec overrideEditableFlag(@Nullable @Nullable Boolean overrideEditableFlag) Whether screen security is overridden to enable uneditable fields to be edited. Available to Connect and Forge app users with *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-