Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #221 from JupiterOne/INT-10948-jira-custom-fields-log
Browse files Browse the repository at this point in the history
INT-10948 Add better logging around custom fields
  • Loading branch information
Jake Ferrero authored May 2, 2024
2 parents 5d5dff7 + ba8e4d5 commit 65c3d0f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/steps/issues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ export async function fetchIssues({
const fieldsById = await fetchJiraFields(apiClient);

logger.info(
{ customFields: config.customFields, allfields: Object.keys(fieldsById) },
{
customFields: config.customFields,
allFieldIdsAndNames: Object.values(fieldsById).map(
(field) => `${field.id}: ${field.name ?? 'undefined field name'}`,
),
},
'Custom fields to ingest.',
);

Expand Down

0 comments on commit 65c3d0f

Please sign in to comment.