Transform response

Transform response

Feature: HTTP Response Transformation with JavaScript

This feature allows users to transform HTTP responses using custom JavaScript code. By leveraging this capability, raw HTTP responses can be converted into a cleaner, more manageable output format. The transformation process enables:

  • Easier Downstream Actions: The output can be tailored to fit the needs of subsequent processes or integrations, minimizing the need for additional parsing or manipulation.

  • Cleaner and Smaller Scope: Irrelevant or extraneous data can be filtered out, ensuring that only the necessary information is retained and passed forward.

  • Flexible Output Formatting: Users can define transformation logic to reshape, aggregate, or reformat response data according to their specific requirements.

This approach ensures that downstream systems or workflows receive data in the most useful and efficient format, streamlining automation and integration efforts.


How to Enable

To enable HTTP response transformation on an iHub Action:

  1. Expand the Response Handling section.

  2. Click Enable on the option “Transform response data using script”.


Example Usage

For example, the Jira asset API often returns a large amount of unnecessary data that can clutter logs and make response handling more difficult. By enabling this feature, you can use a custom script to transform the response, removing extraneous information and making the data easier to work with for downstream actions.

//JSM ASSET FILTER EXAMPLE // TAKES THE ASSET AQL RESPONSE const input = context?.data; //FILTERS ON ATTRIBUTE IDs, EMPTY MEANS ALL ATTRIBUTES INCLUDED const attributeIds = []; const wanted = new Set((attributeIds || []).map(String)); const includeAll = wanted.size === 0; return { // keep paging/meta fields maxResults: input.maxResults, startAt: input.startAt, total: input.total, isLast: input.isLast, hasMoreResults: input.hasMoreResults, last: input.last, values: Array.isArray(input.values) ? input.values.map((v) => { const { avatar, objectType, attributes, ...rest } = v; const slimAttributes = Array.isArray(attributes) ? attributes .filter((a) => includeAll || wanted.has(String(a.id))) .map((a) => { const { workspaceId, globalId, ...aRest } = a; // drop return aRest; }) : attributes; return { ...rest, objectType: objectType ? { id: objectType.id, name: objectType.name } : objectType, attributes: slimAttributes, }; }) : input.values, };

 

{ "values": [ { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:262711", "id": "262711", "label": "OTPA.SEA1AA1", "objectKey": "AS-262711", "avatar": { "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48", "url72": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=72", "url144": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=144", "url288": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=288", "objectId": "262711", "mediaClientConfig": { "clientId": "e02de922-fca8-4d49-ad47-326553f67158", "issuer": null, "mediaBaseUrl": "https://api.media.atlassian.com", "mediaJwtToken": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJlMDJkZTkyMi1mY2E4LTRkNDktYWQ0Ny0zMjY1NTNmNjcxNTgiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOmYwMjQxODg1LWUwNWQtNDY5OS04MWFiLTkxYzBhZTc5NjE2MSI6WyJyZWFkIl19LCJleHAiOjE3NjU4MDgwODQsIm5iZiI6MTc2NTgwNDQ4NH0.T04BdixfQ0BeKVkqWQztt3Yz-Z_sSKHURPMjcNQkiVM", "tokenLifespanInMinutes": 60, "fileId": "f0241885-e05d-4699-81ab-91c0ae796161", "collectionId": null }, "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6" }, "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "created": "2025-11-20T17:25:02.419Z", "updated": "2025-11-20T17:25:02.419Z", "hasAvatar": false, "timestamp": 1763659502419, "attributes": [ { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4443", "id": "4443", "objectTypeAttributeId": "4443", "objectAttributeValues": [ { "displayValue": "OTPA.SEA1AA1", "searchValue": "OTPA.SEA1AA1", "referencedType": false, "value": "OTPA.SEA1AA1" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4444", "id": "4444", "objectTypeAttributeId": "4444", "objectAttributeValues": [ { "displayValue": "1971.06", "searchValue": "1971.06", "referencedType": false, "value": "1971.06" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4445", "id": "4445", "objectTypeAttributeId": "4445", "objectAttributeValues": [ { "displayValue": "186.69927436", "searchValue": "186.69927436", "referencedType": false, "value": "186.69927436" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4446", "id": "4446", "objectTypeAttributeId": "4446", "objectAttributeValues": [ { "displayValue": "FINAL", "searchValue": "FINAL", "referencedType": false, "value": "FINAL" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4447", "id": "4447", "objectTypeAttributeId": "4447", "objectAttributeValues": [ { "displayValue": "Index", "searchValue": "Index", "referencedType": false, "value": "Index" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4448", "id": "4448", "objectTypeAttributeId": "4448", "objectAttributeValues": [ { "displayValue": "0", "searchValue": "0", "referencedType": false, "value": "0" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4449", "id": "4449", "objectTypeAttributeId": "4449", "objectAttributeValues": [ { "displayValue": "Overseas Trade Indexes - Prices - OTP", "searchValue": "Overseas Trade Indexes - Prices - OTP", "referencedType": false, "value": "Overseas Trade Indexes - Prices - OTP" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4450", "id": "4450", "objectTypeAttributeId": "4450", "objectAttributeValues": [ { "displayValue": "Export price indexes - analytical", "searchValue": "Export price indexes - analytical", "referencedType": false, "value": "Export price indexes - analytical" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4451", "id": "4451", "objectTypeAttributeId": "4451", "objectAttributeValues": [ { "displayValue": "Price", "searchValue": "Price", "referencedType": false, "value": "Price" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4452", "id": "4452", "objectTypeAttributeId": "4452", "objectAttributeValues": [ { "displayValue": "BEEF AND VEAL", "searchValue": "BEEF AND VEAL", "referencedType": false, "value": "BEEF AND VEAL" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4453", "id": "4453", "objectTypeAttributeId": "4453", "objectAttributeValues": [ { "displayValue": "June 2002 Quarter Base (=1000)", "searchValue": "June 2002 Quarter Base (=1000)", "referencedType": false, "value": "June 2002 Quarter Base (=1000)" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4439", "id": "4439", "objectTypeAttributeId": "4439", "objectAttributeValues": [ { "displayValue": "AS-262711", "searchValue": "AS-262711", "referencedType": false, "value": "AS-262711" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4440", "id": "4440", "objectTypeAttributeId": "4440", "objectAttributeValues": [ { "displayValue": "20/Nov/25 5:25 PM", "searchValue": "2025-11-20T17:25:02.419Z", "referencedType": false, "value": "2025-11-20T17:25:02.419Z" } ], "objectId": "262711" }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4441", "id": "4441", "objectTypeAttributeId": "4441", "objectAttributeValues": [ { "displayValue": "20/Nov/25 5:25 PM", "searchValue": "2025-11-20T17:25:02.419Z", "referencedType": false, "value": "2025-11-20T17:25:02.419Z" } ], "objectId": "262711" } ], "_links": { "self": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/object/262711" }, "name": "OTPA.SEA1AA1" } ], "objectTypeAttributes": [ { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4439", "id": "4439", "defaultType": { "id": 0, "name": "Text" }, "editable": false, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 1, "name": "Key", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 0, "removable": false, "sortable": true, "summable": false, "system": true, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4440", "id": "4440", "defaultType": { "id": 6, "name": "DateTime" }, "editable": false, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 1, "name": "Created", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 1, "removable": false, "sortable": true, "summable": false, "system": true, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4441", "id": "4441", "defaultType": { "id": 6, "name": "DateTime" }, "editable": false, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 1, "name": "Updated", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 2, "removable": false, "sortable": true, "summable": false, "system": true, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4443", "id": "4443", "defaultType": { "id": 0, "name": "Text" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": true, "maximumCardinality": 1, "minimumCardinality": 0, "name": "Series_reference", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 3, "removable": false, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4444", "id": "4444", "defaultType": { "id": 3, "name": "Float" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "Period", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 4, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4445", "id": "4445", "defaultType": { "id": 3, "name": "Float" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "Data_value", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 5, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4446", "id": "4446", "defaultType": { "id": 0, "name": "Text" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "STATUS", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 6, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4447", "id": "4447", "defaultType": { "id": 0, "name": "Text" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "UNITS", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 7, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4448", "id": "4448", "defaultType": { "id": 1, "name": "Integer" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "MAGNTUDE", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 8, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4449", "id": "4449", "defaultType": { "id": 0, "name": "Text" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "Subject", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 9, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4450", "id": "4450", "defaultType": { "id": 0, "name": "Text" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "Group", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 10, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4451", "id": "4451", "defaultType": { "id": 0, "name": "Text" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "Series_title_1", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 11, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4452", "id": "4452", "defaultType": { "id": 0, "name": "Text" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "Series_title_2", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 12, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4453", "id": "4453", "defaultType": { "id": 0, "name": "Text" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "Series_title_3", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 13, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4454", "id": "4454", "defaultType": { "id": 0, "name": "Text" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "Series_title_4", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 14, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false }, { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:4455", "id": "4455", "defaultType": { "id": 0, "name": "Text" }, "description": "", "editable": true, "hidden": false, "includeChildObjectTypes": false, "indexed": true, "label": false, "maximumCardinality": 1, "minimumCardinality": 0, "name": "Series_title_5", "objectType": { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:613", "id": "613", "name": "SALES", "type": 0, "description": "", "icon": { "id": "1", "name": "3D Printer", "url16": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=16", "url48": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/objecttype/613/icon.png?size=48" }, "position": 5, "created": "2025-11-20T15:23:29.369Z", "updated": "2025-11-20T15:23:29.369Z", "objectCount": 0, "objectSchemaId": "43", "inherited": false, "abstractObjectType": false, "parentObjectTypeInherited": false, "schemaLabel": "AWS S3" }, "options": "", "pendingCreation": false, "position": 15, "removable": true, "sortable": true, "summable": false, "system": false, "type": 0, "uniqueAttribute": false, "lockedConfiguration": false } ], "maxResults": 1, "startAt": 0, "total": 1, "isLast": false, "hasMoreResults": false, "last": false }
{ "maxResults": 1, "startAt": 0, "total": 1, "isLast": false, "hasMoreResults": false, "last": false, "values": [ { "workspaceId": "44143b0f-24fc-4c64-889c-57267f7c40d6", "globalId": "44143b0f-24fc-4c64-889c-57267f7c40d6:262711", "id": "262711", "label": "OTPA.SEA1AA1", "objectKey": "AS-262711", "created": "2025-11-20T17:25:02.419Z", "updated": "2025-11-20T17:25:02.419Z", "hasAvatar": false, "timestamp": 1763659502419, "_links": { "self": "https://api.atlassian.com/jsm/assets/workspace/44143b0f-24fc-4c64-889c-57267f7c40d6/v1/object/262711" }, "name": "OTPA.SEA1AA1", "objectType": { "id": "613", "name": "SALES" }, "attributes": [ { "id": "4443", "objectTypeAttributeId": "4443", "objectAttributeValues": [ { "displayValue": "OTPA.SEA1AA1", "searchValue": "OTPA.SEA1AA1", "referencedType": false, "value": "OTPA.SEA1AA1" } ], "objectId": "262711" }, { "id": "4444", "objectTypeAttributeId": "4444", "objectAttributeValues": [ { "displayValue": "1971.06", "searchValue": "1971.06", "referencedType": false, "value": "1971.06" } ], "objectId": "262711" }, { "id": "4445", "objectTypeAttributeId": "4445", "objectAttributeValues": [ { "displayValue": "186.69927436", "searchValue": "186.69927436", "referencedType": false, "value": "186.69927436" } ], "objectId": "262711" }, { "id": "4446", "objectTypeAttributeId": "4446", "objectAttributeValues": [ { "displayValue": "FINAL", "searchValue": "FINAL", "referencedType": false, "value": "FINAL" } ], "objectId": "262711" }, { "id": "4447", "objectTypeAttributeId": "4447", "objectAttributeValues": [ { "displayValue": "Index", "searchValue": "Index", "referencedType": false, "value": "Index" } ], "objectId": "262711" }, { "id": "4448", "objectTypeAttributeId": "4448", "objectAttributeValues": [ { "displayValue": "0", "searchValue": "0", "referencedType": false, "value": "0" } ], "objectId": "262711" }, { "id": "4449", "objectTypeAttributeId": "4449", "objectAttributeValues": [ { "displayValue": "Overseas Trade Indexes - Prices - OTP", "searchValue": "Overseas Trade Indexes - Prices - OTP", "referencedType": false, "value": "Overseas Trade Indexes - Prices - OTP" } ], "objectId": "262711" }, { "id": "4450", "objectTypeAttributeId": "4450", "objectAttributeValues": [ { "displayValue": "Export price indexes - analytical", "searchValue": "Export price indexes - analytical", "referencedType": false, "value": "Export price indexes - analytical" } ], "objectId": "262711" }, { "id": "4451", "objectTypeAttributeId": "4451", "objectAttributeValues": [ { "displayValue": "Price", "searchValue": "Price", "referencedType": false, "value": "Price" } ], "objectId": "262711" }, { "id": "4452", "objectTypeAttributeId": "4452", "objectAttributeValues": [ { "displayValue": "BEEF AND VEAL", "searchValue": "BEEF AND VEAL", "referencedType": false, "value": "BEEF AND VEAL" } ], "objectId": "262711" }, { "id": "4453", "objectTypeAttributeId": "4453", "objectAttributeValues": [ { "displayValue": "June 2002 Quarter Base (=1000)", "searchValue": "June 2002 Quarter Base (=1000)", "referencedType": false, "value": "June 2002 Quarter Base (=1000)" } ], "objectId": "262711" }, { "id": "4439", "objectTypeAttributeId": "4439", "objectAttributeValues": [ { "displayValue": "AS-262711", "searchValue": "AS-262711", "referencedType": false, "value": "AS-262711" } ], "objectId": "262711" }, { "id": "4440", "objectTypeAttributeId": "4440", "objectAttributeValues": [ { "displayValue": "20/Nov/25 5:25 PM", "searchValue": "2025-11-20T17:25:02.419Z", "referencedType": false, "value": "2025-11-20T17:25:02.419Z" } ], "objectId": "262711" }, { "id": "4441", "objectTypeAttributeId": "4441", "objectAttributeValues": [ { "displayValue": "20/Nov/25 5:25 PM", "searchValue": "2025-11-20T17:25:02.419Z", "referencedType": false, "value": "2025-11-20T17:25:02.419Z" } ], "objectId": "262711" } ] } ] }

Important Note:
The transformation script runs after the HTTP request response is received.