updateEntityPropertiesValue method

Future<void> updateEntityPropertiesValue({
  1. required String atlassianTransferId,
  2. required String entityType,
  3. required List<EntityPropertyDetails> body,
})

Updates the values of multiple entity properties for an object, up to 50 updates per request. This operation is for use by Connect apps during app migration.

Implementation

Future<void> updateEntityPropertiesValue(
    {required String atlassianTransferId,
    required String entityType,
    required List<EntityPropertyDetails> body}) async {
  await _client.send(
    'put',
    'rest/atlassian-connect/1/migration/properties/{entityType}',
    pathParameters: {
      'entityType': entityType,
    },
    headers: {
      'Atlassian-Transfer-Id': 'null',
    },
    body: body.map((i) => i.toJson()).toList(),
  );
}