IssueFieldsApi class

Jira Cloud platform REST API documentation

Constructors

IssueFieldsApi(ApiClient _client)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createCustomField({required CustomFieldDefinitionJsonBean body}) → Future<FieldDetails>
Creates a custom field.
deleteCustomField(String id) → Future<TaskProgressBeanObject>
Deletes a custom field. The custom field is deleted whether it is in the trash or not. See Edit or delete a custom field for more information on trashing and deleting custom fields.
getContextsForFieldDeprecated({required String fieldId, int? startAt, int? maxResults}) → Future<PageBeanContext>
Returns a paginated list of the contexts a field is used in. Deprecated, use Get custom field contexts.
getFields() → Future<List<FieldDetails>>
Returns system and custom issue fields according to the following rules:
getFieldsPaginated({int? startAt, int? maxResults, List<String>? type, List<String>? id, String? query, String? orderBy, String? expand}) → Future<PageBeanField>
Returns a paginated list of fields for Classic Jira projects. The list can include:
getTrashedFieldsPaginated({int? startAt, int? maxResults, List<String>? id, String? query, String? expand, String? orderBy}) → Future<PageBeanField>
Returns a paginated list of fields in the trash. The list may be restricted to fields whose field name or description partially match a string.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restoreCustomField(String id) → Future
Restores a custom field from trash. See Edit or delete a custom field for more information on trashing and deleting custom fields.
toString() → String
A string representation of this object.
inherited
trashCustomField(String id) → Future
Moves a custom field to trash. See Edit or delete a custom field for more information on trashing and deleting custom fields.
updateCustomField({required String fieldId, required UpdateCustomFieldDetails body}) → Future
Updates a custom field.

Operators

operator ==(Object other) → bool
The equality operator.
inherited