Enables Jira ticket creation based on regression status

Reverts the hardcoded disabling of Jira ticket creation and enables it based on the `IS_REGRESSION` environment variable. This allows test subtasks and bug tickets to be created automatically when tests are not run in regression mode.
This commit is contained in:
maguire-arman 2025-07-14 14:03:34 -04:00
parent d053a49f41
commit a9682c960d

View file

@ -61,8 +61,8 @@ const jiraReportConfig: JiraReporterConfig = {
jiraBoardId: process.env.JIRA_BOARD_ID || '' jiraBoardId: process.env.JIRA_BOARD_ID || ''
}, },
jiraCreationPermissions: { jiraCreationPermissions: {
isCreateTestSubtasks: false, // TODO: Change back to process.env.IS_REGRESSION !== 'true', isCreateTestSubtasks: process.env.IS_REGRESSION !== 'true', // TODO: Change back to process.env.IS_REGRESSION !== 'true',
isCreateBugs: false // TODO: Change back to process.env.IS_REGRESSION !== 'true' isCreateBugs: process.env.IS_REGRESSION !== 'true' // TODO: Change back to process.env.IS_REGRESSION !== 'true'
}, },
// Wrapped ortoni config // Wrapped ortoni config
...ortoniReportConfig ...ortoniReportConfig