Affects Version/s | String
String[]
Version
Collection<Version>
| A Groovy expression that returns a: - String representing the name or id of a version.
- String with comma separated values that represent the names or ids (id takes precedence over the name) of the versions
- An array of strings that represent the names or ids (id takes precedence over the name) of the versions
- Single version object
- Collection of version objects
| "1.0" "1.0,2.0" ["1.0","2.0"] On creating a Bug set its Affects Version/s to the most recently released version - Set the Affects Version/s of the issue to Affects Version/s of all its linked issues
|
Assignee | String
ApplicationUser
| A Groovy expression that returns a: - String representing the username of a user
- ApplicationUser object
| "carter" - Assign the issue to the Project lead, if the issue is unassigned on creation.
|
Components | String
String[]
ProjectComponent
Collection<ProjectComponent>
| A Groovy expression that returns a: - String representing the name or id of the component
- String with comma separated values that represent the names or ids (id takes precedence over the name) of the components
- An array of strings that represent the names or ids (id takes precedence over the name) of the components
- Single component object
- Collection of component objects
| - On creating an issue, pick the component of the issue from a cascading field that carries the Main and Sub-components
"C1,C2" ["C1","C2"]
- Set the Component/s of the issue to components whose lead is the current user
|
Description | String | A Groovy expression that returns a: - String representing a single line text.
- String representing a multi-line text
| "Issue associated to TEST-121" "Issues:\nFirst issue\nSecond issue"
On the creation of a sub-task add its summary to the description of its parent.
|
Due date | String
Timestamp
| A Groovy expression that returns a: | Set the due date to today's date - Set the due date to issue created plus five days.
|
Environment | String | A Groovy expression that returns a: - String representing a single line text
- String representing a multi-line text
| "QA" "1. QA\n2. Production"
|
Fix Version/s | String
String[]
Version
Collection<Version>
| A Groovy expression that returns a: - String representing the name or id of the version
- String with comma separated values that represent the names or ids (id takes precedence over the name) of the versions
- An array of strings that represent the names or ids (id takes precedence over the name) of the versions
- Single version object
- Collection of version objects
| |
Labels | String
Set<Label >
| A Groovy expression that returns a: - String representing a value
- String with space separated values
- An array of strings that represent values
- Set of labels
| "New" "KB How-to-do" ["KB","How-to-do"] issue.get("Custom labels field")
|
Original Estimate | Long
String
| A Groovy expression that returns a - Number in Long format representing the estimate in seconds
- Duration string
| |
Priority | String
Priority
| A Groovy expression that returns a: - String representing the name or id of the priority
- Priority object
| - "Blocker"
Set the priority of the issue to Highest if the issue belongs to the "Customer Portal" component On the creation of a Story, change its priority to that of the Epic if the Epic's priority is lower than the current priority of the Story
|
Remaining Estimate | Long
String
| A Groovy expression that returns a - Number in Long format representing the estimate in seconds
- Duration string
| 22400L "22400" issue.get("timespent")
"4w 2d 6h 40m"
|
Reporter | String
ApplicationUser
| A Groovy expression that returns a: - String representing the username of a user
- ApplicationUser object
| "carter" - Assign a reopened issue to the last person who commented it.
|
Resolution | String
Resolution
| A Groovy expression that returns a: - String representing the name or id of the resolution
- Resolution object.
| "Done" Set with the resolution the Epic resolution. Code Block |
---|
language | groovy |
---|
linenumbers | true |
---|
| issue.getEpic?.get("resolution") |
|
Security level | String
Long
IssueSecurityLevel
| A Groovy expression that returns a: - String representing the name or id of the security level
- Number in Longformat representing the id of the security level
- Security level
| "QA" or "10000"
10000L
Assign to the first security level of the project that can be set for an issue created in this project by the current user
|
Summary | String | A Groovy expression that returns a String representing a single line text | "Test of the web interface"
|
Time spent | Long
String
| A Groovy expression that returns a - Number in Long format representing the time spent in seconds
- Duration string
| 22400L "22400"
"4w 2d 6h 40m
|
Votes | String
String[]
ApplicationUser
Collection<ApplicationUser>
| A Groovy expression that returns a: - String representing the username of a user
- String with comma separated values that represent the usernames of the users.
- An array of strings that represent the usernames of the users
- Single ApplicationUser object
- Collection of ApplicationUser objects
| "charlie" "charlie,carter" ["charlie","carter"]
|
Watchers | String
String[]
ApplicationUser
Collection<ApplicationUser>
| A Groovy expression that returns a: - String representing the username of a user
- String with comma separated values that represent the usernames of the users.
- An array of strings that represent the usernames of the users
- Single ApplicationUser object
- Collection of ApplicationUser objects
| "charlie" "charlie,carter" ["charlie","carter"] On the creation of a Story add the reporter of its Epic to the Watchers
|