diff --git a/manifest.json b/manifest.json index 8e7986f..fd70a93 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "title": "Jira", "description": "View Jira issues linked with Deskpro tickets to streamline communication with users", "appStoreUrl": "https://www.deskpro.com/product-embed/apps/jira", - "version": "1.0.63", + "version": "1.0.74", "scope": "agent", "isSingleInstall": false, "hasDevMode": true, diff --git a/src/api/issues/listLinkedIssues/listLinkedIssues.ts b/src/api/issues/listLinkedIssues/listLinkedIssues.ts index 438b48d..9d4e83f 100644 --- a/src/api/issues/listLinkedIssues/listLinkedIssues.ts +++ b/src/api/issues/listLinkedIssues/listLinkedIssues.ts @@ -53,7 +53,7 @@ export default async function listLinkedIssues( ); const { issues: fullEpics } = await jiraRequest( client, - { endpoint: `/search/jql?jql=${epicJql}` } + { endpoint: `/search/jql?jql=${epicJql}&fields=summary` } ); epics = (fullEpics ?? []).reduce((list, issue) => ({ @@ -75,7 +75,7 @@ export default async function listLinkedIssues( id: issue.id, key: issue.key, epicKey: epic?.key, - epicName: epic?.fields.summary, + epicName: epic?.fields?.summary, status: issue.fields.status?.name || "-", sprints: issueSprints, customFields: combineCustomFieldValueAndMeta(