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:
parent
d053a49f41
commit
a9682c960d
1 changed files with 2 additions and 2 deletions
|
|
@ -61,8 +61,8 @@ const jiraReportConfig: JiraReporterConfig = {
|
|||
jiraBoardId: process.env.JIRA_BOARD_ID || ''
|
||||
},
|
||||
jiraCreationPermissions: {
|
||||
isCreateTestSubtasks: false, // TODO: Change back to process.env.IS_REGRESSION !== 'true',
|
||||
isCreateBugs: 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: process.env.IS_REGRESSION !== 'true' // TODO: Change back to process.env.IS_REGRESSION !== 'true'
|
||||
},
|
||||
// Wrapped ortoni config
|
||||
...ortoniReportConfig
|
||||
|
|
|
|||
Loading…
Reference in a new issue