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 #215 from JupiterOne/INT-10020-3
Browse files Browse the repository at this point in the history
Removed temp logs from integration
  • Loading branch information
Gonzalo-Avalos-Ribas authored Dec 8, 2023
2 parents bf30b35 + 1a1829b commit 9cb8f64
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/converters/IssueEntityConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,27 +73,6 @@ export function createIssueEntity({
const customFields: { [key: string]: any } = {};

for (const [key, value] of Object.entries(issue.fields)) {
//TEMP INT-10020
if (key.includes('customfield_12253')) {
if (value !== undefined && value !== null) {
logger.info({}, 'Value not null');
}
logger.info({ startsWith: key.startsWith('customfield_') }, 'StartsWith');
logger.info({ hasKey: fieldsById[key] !== undefined }, 'HasKey');
const fieldName = camelCase(fieldsById[key].name);
logger.info(
{
includes:
customFieldsToInclude.includes(key) ||
customFieldsToInclude.includes(fieldName),
},
'Includes',
);
logger.info(
{ extractedValue: extractValueFromCustomField(value) },
'Extracted value',
);
}
if (
key.startsWith('customfield_') &&
value !== undefined &&
Expand Down

0 comments on commit 9cb8f64

Please sign in to comment.