jira.IssueTrigger
Triggers release when a new ticket in a list returned by JQL is triggered.
Type hierarchy: jira.IssueTrigger > xlrelease.ReleaseTrigger > xlrelease.BasePythonScript > udm.BaseConfigurationItem
Label: Jira: Issue Trigger
Properties
| Property | Kind | Description |
|---|---|---|
| triggerState | String | Trigger State |
| initialFire | Boolean | Set this property to true to trigger a new release on the initial trigger fire. Otherwise, the first release will be triggered on the next state change |
| title | String | Symbolic name for the trigger |
| description | String | The description of the trigger. |
| releaseTitle | String | Name given to releases created by this trigger. This field can contain variables |
| pollType | Enum | Type of polling to use; this is a repeatable period in seconds (for example, every 10 seconds) or a cron expression |
| periodicity | String | Interval in seconds (REPEAT) or as a cron expression (CRON). The cron pattern is a list of six fields separated by a single space; these fields represent second, minute, hour, day, month, weekday. Month and weekday names can be given as the first three letters of their English names. For example: 0 0 * * * * = the top of every hour of every day; */10 * * * * * = every ten seconds; 0 0 9-17 * * MON-FRI = on the hour nine-to-five weekdays |
| enabled | Boolean | Enabled |
| executionId | String | Execution Id |
| variables | List of xlrelease.Variable (contained) | Variables |
| template | xlrelease.Release (parent) | Template |
| tags | List of string | Tags |
| jql | String | Query in JQL to monitor for new issues. Make sure to ‘order by’ in a specific order, see https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-keywords-reference-764478340.html?_ga=2.210588821.1256381095.1529514991-1866243919.1515112423#Advancedsearching-keywordsreference-ORDER_BYORDERBY. |
| server | jira.Server | JIRA server to execute JQL against. |
| username | String | Custom username to override global server configuration |
| password | Password | Custom password to override global server configuration |
| apiToken | Password | Overrides the API token used to connect to the server |
| latestIssue | String | Latest issue key found in list. |
triggerState
Trigger State
- Label: Trigger State
- Kind: String
- Default value:
- Required: false
- Category: hidden
initialFire
Set this property to true to trigger a new release on the initial trigger fire. Otherwise, the first release will be triggered on the next state change
- Label: Initial Fire
- Kind: Boolean
- Default value: false
- Required: false
- Category: hidden
title
Symbolic name for the trigger
- Label: Title
- Kind: String
- Required: true
description
The description of the trigger.
- Label: Description
- Kind: String
- Size: LARGE
- Required: false
releaseTitle
Name given to releases created by this trigger. This field can contain variables
- Label: Release Title
- Kind: String
- Required: true
pollType
Type of polling to use; this is a repeatable period in seconds (for example, every 10 seconds) or a cron expression
- Label: Poll Type
- Kind: Enum
- Allowed values: REPEAT, CRON
- Default value: REPEAT
- Required: true
periodicity
Interval in seconds (REPEAT) or as a cron expression (CRON). The cron pattern is a list of six fields separated by a single space; these fields represent second, minute, hour, day, month, weekday. Month and weekday names can be given as the first three letters of their English names. For example: 0 0 * * * * = the top of every hour of every day; */10 * * * * * = every ten seconds; 0 0 9-17 * * MON-FRI = on the hour nine-to-five weekdays
- Label: Poll Interval
- Kind: String
- Default value: 10
- Required: true
enabled
Enabled
- Label: Enabled
- Kind: Boolean
- Default value: true
- Required: false
executionId
Execution Id
- Label: Execution Id
- Kind: String
- Required: false
- Category: hidden
variables
Variables
- Label: Variables
- Kind: List of xlrelease.Variable (contained)
- Required: false
- Category: hidden
- Reference type: xlrelease.Variable
- As containment: true
template
Template
- Label: Template
- Kind: xlrelease.Release (parent)
- Required: false
- Category: hidden
- Reference type: xlrelease.Release
- As containment: true
tags
Tags
- Label: Tags
- Kind: List of string
- Required: false
- Category: hidden
jql
Query in JQL to monitor for new issues. Make sure to ‘order by’ in a specific order, see https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-keywords-reference-764478340.html?_ga=2.210588821.1256381095.1529514991-1866243919.1515112423#Advancedsearching-keywordsreference-ORDER_BYORDERBY.
- Label: Jql
- Kind: String
- Required: true
server
JIRA server to execute JQL against.
- Label: Server
- Kind: jira.Server
- Required: true
- Category: JIRA
- Reference type: jira.Server
username
Custom username to override global server configuration
- Label: Username
- Kind: String
- Default value:
- Required: false
- Category: JIRA
password
Custom password to override global server configuration
- Label: Password
- Kind: Password
- Default value:
- Password: true
- Required: false
- Category: JIRA
apiToken
Overrides the API token used to connect to the server
- Label: API Token
- Kind: Password
- Password: true
- Required: false
- Category: JIRA
latestIssue
Latest issue key found in list.
- Label: Latest Issue
- Kind: String
- Required: false
- Category: variables
Hidden properties
| Property | Kind | Description |
|---|---|---|
| scriptLocation | String | Script Location |
scriptLocation
Script Location
- Key:
jira.IssueTrigger.scriptLocation - Kind: String
- Default value:
- Hidden: true