reads configuration from either the passed in JiraConfigOptions or the aftconfig.json file under a heading of JiraConfig like:

{
"JiraConfig": {
"url": "https://your-instance-of.jira.io",
"accesskey": "your-access-key-for-jira",
"policyEngineEnabled": true,
"openDefectOnFail": false,
"closeDefectOnPass": false,
"projectKey": "ABCD",
"closedStatusCategoryName": "Done"
}
}

NOTE:

  • openDefectOnFail and closeDefectOnPass can be used to only create new defects in certain environments or close defects following success in certain environments
  • if policyEngineEnabled is true then this policy plugin will be checked before tests are executed

Hierarchy

  • PluginConfig
    • JiraConfig

Constructors

Properties

accessKey: string
cacheDuration: number = 300000
closeDefectOnPass: boolean = false
closedStatusCategoryName: string = "Done"
enabled: boolean = ...
openDefectOnFail: boolean = false
policyEngineEnabled: boolean = true
projectKey: string
url: string

Generated using TypeDoc