# TheJiraCloudPlatformRestApi.AppMigrationApi

All URIs are relative to *https://your-domain.atlassian.net*

Method | HTTP request | Description
------------- | ------------- | -------------
[**appIssueFieldValueUpdateResourceUpdateIssueFieldsPut**](AppMigrationApi.md#appIssueFieldValueUpdateResourceUpdateIssueFieldsPut) | **PUT** /rest/atlassian-connect/1/migration/field | Bulk update custom field value
[**migrationResourceUpdateEntityPropertiesValuePut**](AppMigrationApi.md#migrationResourceUpdateEntityPropertiesValuePut) | **PUT** /rest/atlassian-connect/1/migration/properties/{entityType} | Bulk update entity properties
[**migrationResourceWorkflowRuleSearchPost**](AppMigrationApi.md#migrationResourceWorkflowRuleSearchPost) | **POST** /rest/atlassian-connect/1/migration/workflow/rule/search | Get workflow transition rule configurations

<a name="appIssueFieldValueUpdateResourceUpdateIssueFieldsPut"></a>
# **appIssueFieldValueUpdateResourceUpdateIssueFieldsPut**
> Object appIssueFieldValueUpdateResourceUpdateIssueFieldsPut(body, atlassianTransferId)

Bulk update custom field value

Updates the value of a custom field added by Connect apps on one or more issues. The values of up to 200 custom fields can be updated.  **[Permissions](#permissions) required:** Only Connect apps can make this request.

### Example
```javascript
import {TheJiraCloudPlatformRestApi} from 'the_jira_cloud_platform_rest_api';

let apiInstance = new TheJiraCloudPlatformRestApi.AppMigrationApi();
let body = new TheJiraCloudPlatformRestApi.ConnectCustomFieldValues(); // ConnectCustomFieldValues | 
let atlassianTransferId = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // String | The ID of the transfer.

apiInstance.appIssueFieldValueUpdateResourceUpdateIssueFieldsPut(body, atlassianTransferId, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**ConnectCustomFieldValues**](ConnectCustomFieldValues.md)|  | 
 **atlassianTransferId** | [**String**](.md)| The ID of the transfer. | 

### Return type

**Object**

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="migrationResourceUpdateEntityPropertiesValuePut"></a>
# **migrationResourceUpdateEntityPropertiesValuePut**
> migrationResourceUpdateEntityPropertiesValuePut(body, atlassianTransferId, entityType)

Bulk update entity properties

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.

### Example
```javascript
import {TheJiraCloudPlatformRestApi} from 'the_jira_cloud_platform_rest_api';

let apiInstance = new TheJiraCloudPlatformRestApi.AppMigrationApi();
let body = [new TheJiraCloudPlatformRestApi.EntityPropertyDetails()]; // [EntityPropertyDetails] | 
let atlassianTransferId = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // String | The app migration transfer ID.
let entityType = "entityType_example"; // String | The type indicating the object that contains the entity properties.

apiInstance.migrationResourceUpdateEntityPropertiesValuePut(body, atlassianTransferId, entityType, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**[EntityPropertyDetails]**](EntityPropertyDetails.md)|  | 
 **atlassianTransferId** | [**String**](.md)| The app migration transfer ID. | 
 **entityType** | **String**| The type indicating the object that contains the entity properties. | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: Not defined

<a name="migrationResourceWorkflowRuleSearchPost"></a>
# **migrationResourceWorkflowRuleSearchPost**
> WorkflowRulesSearchDetails migrationResourceWorkflowRuleSearchPost(body, atlassianTransferId)

Get workflow transition rule configurations

Returns configurations for workflow transition rules migrated from server to cloud and owned by the calling Connect app.

### Example
```javascript
import {TheJiraCloudPlatformRestApi} from 'the_jira_cloud_platform_rest_api';

let apiInstance = new TheJiraCloudPlatformRestApi.AppMigrationApi();
let body = new TheJiraCloudPlatformRestApi.WorkflowRulesSearch(); // WorkflowRulesSearch | 
let atlassianTransferId = "38400000-8cf0-11bd-b23e-10b96e4ef00d"; // String | The app migration transfer ID.

apiInstance.migrationResourceWorkflowRuleSearchPost(body, atlassianTransferId, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**WorkflowRulesSearch**](WorkflowRulesSearch.md)|  | 
 **atlassianTransferId** | [**String**](.md)| The app migration transfer ID. | 

### Return type

[**WorkflowRulesSearchDetails**](WorkflowRulesSearchDetails.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

