moveScreenTabField method

Future moveScreenTabField({
  1. required int screenId,
  2. required int tabId,
  3. required String id,
  4. required MoveFieldBean body,
})

Moves a screen tab field.

If after and position are provided in the request, position is ignored.

Permissions required: Administer Jira global permission.

Implementation

Future<dynamic> moveScreenTabField(
    {required int screenId,
    required int tabId,
    required String id,
    required MoveFieldBean body}) async {
  return await _client.send(
    'post',
    'rest/api/3/screens/{screenId}/tabs/{tabId}/fields/{id}/move',
    pathParameters: {
      'screenId': '$screenId',
      'tabId': '$tabId',
      'id': id,
    },
    body: body.toJson(),
  );
}