reorderCustomFieldOptions method
Future
reorderCustomFieldOptions({
- required String fieldId,
- required int contextId,
- required OrderOfCustomFieldOptions body,
Changes the order of custom field options or cascading options in a context.
This operation works for custom field options created in Jira or the operations from this resource. To work with issue field select list options created for Connect apps use the Issue custom field options (apps) operations.
Permissions required: Administer Jira global permission.
Implementation
Future<dynamic> reorderCustomFieldOptions(
{required String fieldId,
required int contextId,
required OrderOfCustomFieldOptions body}) async {
return await _client.send(
'put',
'rest/api/3/field/{fieldId}/context/{contextId}/option/move',
pathParameters: {
'fieldId': fieldId,
'contextId': '$contextId',
},
body: body.toJson(),
);
}