Example JSONata Expression Context Objects

Example JSONata Expression Context Objects

 

Example context Objects

{ "id": "10929", "key": "SP-34", "self": "https://api.atlassian.com/ex/jira/a338785a-c0e4-46cc-ba26-221323d589d2/rest/api/3/issue/10929", "expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations,customfield_10010.requestTypePractice", "fields": { "summary": "Implement a new user dashboard to provide a personalized, comprehensive view of a user’s activity and key metrics.", "description": { "type": "doc", "version": 1, "content": [] }, "created": "2025-12-19T14:31:19.030+0300", "updated": "2025-12-19T14:34:33.467+0300", "duedate": "2025-12-20", "timespent": 7200, "timeestimate": 0, "timetracking": { "remainingEstimate": "0m", "timeSpent": "2h", "remainingEstimateSeconds": 0, "timeSpentSeconds": 7200 }, "progress": { "progress": 7200, "total": 7200, "percent": 100 }, "status": { "id": "10003", "name": "To Do", "description": "", "statusCategory": { "id": 2, "key": "new", "name": "To Do", "colorName": "blue-gray" } }, "priority": { "id": "3", "name": "Medium", "iconUrl": "https://devgokce.atlassian.net/images/icons/priorities/medium_new.svg" }, "issuetype": { "id": "10005", "name": "Task", "subtask": false, "description": "A small, distinct piece of work." }, "project": { "id": "10033", "key": "SP", "name": "Sample Project", "projectTypeKey": "software" }, "assignee": { "accountId": "1111111000011111", "displayName": "Gökçe Karaduman", "emailAddress": "gokce@thestarware.com", "active": true, "timeZone": "Europe/Istanbul" }, "reporter": { "accountId": "222222000022222", "displayName": "Jessie Lauren", "emailAddress": "jessielauren@gmail.com" }, "labels": ["Label"], "fixVersions": [ { "id": "10000", "name": "R10.0.1", "archived": false } ], "customfield_10014": "SP-33", "customfield_10015": "2025-12-16", "customfield_10020": [ { "id": 1, "name": "SP Sprint 1", "state": "future", "boardId": 34 } ], "customfield_10190": "Short test", "customfield_10224": { "id": "10053", "value": "ss1" }, "customfield_10257": 7200 }, "renderedFields": { "created": "Today 2:31 PM", "updated": "Today 2:34 PM", "duedate": "20/Dec/25", "timespent": "2 hours", "timeestimate": "0 minutes", "description": "<h2>Overview</h2><p>Implement a new <b>User Dashboard</b>...</p>" } }
{ "accountId": "1111111000011111", "accountType": "atlassian", "active": true, "displayName": "Gökçe Karaduman", "emailAddress": "gokce@thestarware.com", "locale": "en-US", "timeZone": "Europe/Istanbul", "self": "https://api.atlassian.com/ex/jira/a338785a-c0e4-46cc-ba26-221323d589d2/rest/api/3/user?accountId=1111111000011111", "avatarUrls": { "48x48": "https://avatar-management--avatars.us-west-2.prod.../48", "24x24": "https://avatar-management--avatars.us-west-2.prod.../24", "16x16": "https://avatar-management--avatars.us-west-2.prod.../16", "32x32": "https://avatar-management--avatars.us-west-2.prod.../32" }, "applicationRoles": { "size": 3, "items": [ { "key": "jira-servicedesk", "name": "Jira Service Desk" }, { "key": "jira-product-discovery", "name": "Jira Product Discovery" }, { "key": "jira-software", "name": "Jira Software" } ] }, "groups": { "size": 7, "items": [ { "name": "confluence-admins-devgokce" }, { "name": "confluence-users-devgokce" }, { "name": "jira-admins-devgokce" }, { "name": "jira-product-discovery-users-devgokce" }, { "name": "jira-servicemanagement-users-devgokce" }, { "name": "jira-users-devgokce" }, { "name": "org-admins" } ] }, "preferences": { "calendarIntervalDetail": "30m", "dayStart": "00:00", "dayEnd": "23:45", "durationFormat": "hourStandard", "showWeekends": true, "showOnlyWorkHours": true, "yourWorkPreferredView": "TIMESHEET" } }
{ "id": "11441", "issueId": "10929", "self": "https://api.atlassian.com/ex/jira/a338785a-c0e4-46cc-ba26-221323d589d2/rest/api/3/issue/10929/worklog/11441", "created": "2025-12-19T14:34:33.443+0300", "updated": "2025-12-19T14:34:33.443+0300", "started": "2025-12-19T14:33:02.657+0300", "timeSpent": "2h", "timeSpentSeconds": 7200, "author": { "accountId": "1111111000011111", "accountType": "atlassian", "displayName": "Gökçe Karaduman", "emailAddress": "gokce@thestarware.com", "active": true, "timeZone": "Europe/Istanbul", "self": "https://api.atlassian.com/ex/jira/a338785a-c0e4-46cc-ba26-221323d589d2/rest/api/3/user?accountId=1111111000011111", "avatarUrls": { "16x16": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/.../16", "24x24": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/.../24", "32x32": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/.../32", "48x48": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/.../48" } }, "updateAuthor": { "accountId": "1111111000011111", "accountType": "atlassian", "displayName": "Gökçe Karaduman", "emailAddress": "gokce@thestarware.com", "active": true, "timeZone": "Europe/Istanbul", "self": "https://api.atlassian.com/ex/jira/a338785a-c0e4-46cc-ba26-221323d589d2/rest/api/3/user?accountId=1111111000011111" }, "comment": { "type": "doc", "version": 1, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Implemented the responsive grid structure and initialized the required API endpoints for data integration." } ] } ] }, "properties": [ { "key": "worklogpro", "value": { "account": "e4cef20b-e30a-46d1-aafa-9d9867321c51", "attributes": { "38f535e7-a6cd-4977-af21-45c7b7ab7aa4": "83ae2ce7-95a5-48c0-afd0-59ace3d89c0c", "048c44a6-66e3-47a0-80a1-dfb86cb57ff1": true, "0437bb05-bd09-4ae1-ae12-88bcdd554201": "9e4e399e-a666-45e3-afc0-88ce2ec98852", "e5c8152e-c878-4199-b7ae-33fe3ceb6294": "INV-1234" }, "version": 3 } } ] }
{ "started": "2025-12-19T14:33:02.657+0300", "timeSpent": "2h", "timeSpentSeconds": 7200, "comment": { "type": "doc", "version": 1, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Implemented the responsive grid structure and initialized the required API endpoints for data integration." } ] } ] }, "properties": [ { "key": "worklogpro", "value": { "account": "e4cef20b-e30a-46d1-aafa-9d9867321c51", "attributes": { "38f535e7-a6cd-4977-af21-45c7b7ab7aa4": "83ae2ce7-95a5-48c0-afd0-59ace3d89c0c", "048c44a6-66e3-47a0-80a1-dfb86cb57ff1": true, "0437bb05-bd09-4ae1-ae12-88bcdd554201": "9e4e399e-a666-45e3-afc0-88ce2ec98852", "e5c8152e-c878-4199-b7ae-33fe3ceb6294": "INV-1234" } } }