Skip to content

Commit

Permalink
[GH-993]: updated an additional condition of getting issueTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitij-Katiyar committed Jul 4, 2024
1 parent 5fb338f commit 7e860cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/utils/jira_issue_metadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function getFields(metadata: IssueMetadata | null, projectKey: string | n
return {};
}

const issueType = getIssueTypes(metadata, projectKey, false).find((it) => it.id === issueTypeId);
const issueType = getIssueTypes(metadata, projectKey, true).find((it) => it.id === issueTypeId);
if (issueType) {
return issueType.fields;
}
Expand Down

0 comments on commit 7e860cf

Please sign in to comment.