Jira Agile and Jira Tempo replacement variables
Jira Agile replacement variables
The following replacement variables are available when working with Jira Agile actions. These variables store references to the last created, found, or explicitly referenced objects during CLI execution.
Variable | Description | Since |
|---|---|---|
| Last created, found, or referenced board name | 7.8 |
| Last created, found, or referenced board ID (numeric) | 7.8 |
Jira Tempo replacement variables
Use these replacement variables with Jira Tempo to refer to the most recently used or created entities during CLI execution. These variables are helpful when chaining actions or processing lists of Tempo-related data.
Variable | Description | Since |
|---|---|---|
| Last referenced account key | 7.3 |
| Last referenced account ID (numeric) | 7.3 |
| Last referenced account name | 7.3 |
| Last referenced account link ID | 7.3 |
| Last referenced category key | 7.2 |
| Last referenced category ID (numeric) | 7.3 |
| Last referenced category name | 7.2 |
| Last referenced customer key | 7.2 |
| Last referenced customer ID (numeric) | 7.2 |
| Last referenced customer name | 7.2 |
| Last referenced member name | 7.2 |
| Last referenced team name | 7.2 |
| Last referenced team ID (numeric) | 7.2 |
| Last referenced worklog ID | 7.3 |
Common client variables
These variables are available across multiple clients and use cases. They provide context and metadata for actions executed in a script or command series.
Variable | Description | Since |
|---|---|---|
| Current entry from the | — |
| Current entry from the | — |
| Last result from the | — |
| Server URL for clients accessing a remote server | 9.0 |
| Hosting type returned by | 9.3 |
| Version value returned by | 9.3 |
| Timestamp of the first action that references this variable in a | 9.0 |
|
|
|
|
|
|
| Path to file used by the last | 9.3 |
| Size of the file retrieved using the | 9.3 |
| Content of the file (text only, limited to files under 10 MB) | 9.3 |
Usage tips and additional notes
Use variable syntax as
@<variable>@in your commands. For example:@entry@,@issueId@, or@runDate@.Variable names are case-sensitive.
Variables are available only within the current
runscope or a parent run action. SiblingrunFromListexecutions do not share variables.Variables are set based on the last created (for
create,add, etc.) or last referenced (fromget,runFromList, etc.) item.Use the
getReplacementVariableListaction to list currently defined variables, excluding built-in variables likeserverorrunDate.Use the
setReplacementVariableListaction to define your own custom replacement variables.The
referenceparameter allows setting custom variable names based on the result of an action. These are useful when you want to retain a specific value throughout a longer script.