Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 13

Section

Column

Description

Substitution variables provide powerful capabilities to customize. These variables provide text string representations of fields useful for inclusion in other fields and you can:

  • Set field values from other existing fields and custom field values.
  • Construct conditioning values.

The syntax for referencing substitution variables is: %<variable name>%. All text entry fields support replacement. 

Example: %parent_summary%

Column

Include Page
Terminology
Terminology

Section

Column

Variables

Table plus
sortColumn1


Substitution VariableDescription
user_idUser id of the user that is considered to be doing the clone
parent_project_name, original_project_nameProject name for the issue

parent_key, original_key

Issue key
parent_id, original_idIssue numeric id
parent_sprint, original_sprintFor a Sprint custom field, set the sprint value using the specified substitution variables when the parent/original issues have one or more sprints assigned.
parent_summary, original_summarySummary
parent_description, original_descriptionDescription
parent_environment, original_environmentEnvironment
parent_issuetype, original_issuetypeIssue type
parent_status, original_statusIssue status
parent_priority, original_priorityPriority
parent_reporter, original_reporterReporter user id
parent_assignee, original_assigneeAssignee user id
parent_components, original_componentsComma separated list of components
parent_affected_versions, original_affected_versionsComma separated list of affected version names
parent_fixed_versions, original_fixed_versionsComma separated list of fixed version names
parent_duedate, original_duedateDue date in Jira DMY date format or a specific format
parent_created, original_createdCreated date in Jira complete date/time format or a specific format 
parent_updated, original_updatedUpdate date in Jira complete date/time format or a specific format 
parent_resolution, original_resolutionResolution
parent_resolution_date, original_resolution_dateResolution date in Jira complete date/time format or a specific format 
parent_labels, original_labelsBlank separated list of labels
parent_watches, original_watchesNumber of watchers of the issue
parent_votes, original_votesNumber of votes for the issue
parent_original_estimate, original_original_estimateTime spent on the issue in minutes
parent_security_level, original_security_levelSecurity level name

<customfield name>

parent_<customfield name> (since 3.4)

Parent issue's custom field value

Recommend using prefix qualified name for clarity

<customfield_id>

parent_<customfield_id> (since 3.4)

Parent issue's custom field value

original_<customfield name>

Original issue's custom field value

original_<customfield_id>

Original issue's custom field value
jql_result_countNumber of issues returned by the query
jql_result_listComma separated list of issue keys returned from the query


Anchor
configured-date-format
configured-date-format

Configured date format

For date substitution variables, the format of the replacement variable can be specified if the default format is not desirable. The format is specified by a Simple Date Format string enclosed in parenthesis following the substitution variable name. For example: %created(yyyy-MM-dd)% will result in replacement like 2013-05-28.

...