On this page
Anatomy of a template
A template is plain text. Each line becomes one subtask on the work item you run it on.
#1 Build the iOS screen2 /3 dueDate4:5"@inherit - 2d"6- 1
#starts a subtaskEvery subtask begins on a new line with #. - 2SummaryThe subtask's name, up to the first /.
- 3
/adds a fieldAdd as many as you need, each after its own /. - 4Field nameA built-in field, or a custom field's name.
- 5
:separates name and valueSpaces around it are optional. - 6Value, in double quotesHere, two days before the parent's due date.
Put each subtask on its own line. One template creates up to 200 subtasks.
# Design review / assignee:"@inherit" / dueDate:"@inherit - 7d"
# Build the API / components:"API" / estimate:"2d"
# Write acceptance tests / issueType:"QA subtask"Lines and fields
One line per subtask
- Start every subtask with
#at the beginning of a line. Text before the first#is an error. - The summary is everything after
#up to the first/, and can be up to 255 characters. - Fields are optional.
# Write testson its own is a complete subtask. - Blank lines and extra spaces are ignored.
- A line with
#and no summary creates a subtask called Click to add a summary.
Quoting values
Put every value in double quotes, even a single word. Without quotes, the line is underlined in the editor and the field is not set.
A value can't contain a double quote: there's no escape, and a " always ends the value. Use typographic quotes instead, such as summary:"Rename to “Trips”".
Do
# Write tests / priority:"High"Don't
# Write tests / priority: HighLine breaks in a value
Write \n for a new line. It works in description and in text custom fields, short and paragraph. In the summary, \n stays as typed.
# Write acceptance tests / Acceptance criteria:"h3. Done when\n* Works offline\n* Syncs on reconnect"Slashes inside a value
Inside quotes, / is ordinary text, so links and paths need no escaping. A new field starts only at a / after a closing quote.
# Update the help article / description:"See https://timefork.io/create-multiple-subtasks/syntax/"Upper and lower case
| What you write | Case | Example |
|---|---|---|
| Built-in field names | Any case | dueDate, duedate and DUEDATE are the same field |
| Custom field names | Exactly as in Jira | Squad is not squad |
| Custom field ids | Any case | customfield_10042 |
| Priority, work type, component and version values | Any case | "high" finds High |
| Other values | Written as you type them | A label "Offline" stays Offline |
Special values
Special values start with @ and are filled in when the subtasks are created.
| Value | Gives | Fields |
|---|---|---|
"@inherit" | The parent work item's value of the same field. More about @inherit | The summary and every field except issueType |
"@unassigned" | No assignee | assignee |
"@currentUser" | You, the person who runs the template. @current works too. | assignee, reporter, watchers and user picker custom fields |
"@now" | Today's date. Add or subtract time: "@now + 1w" | dueDate and date custom fields |
@inherit in detail
If the parent has no value in a field, the subtask's field stays empty.
As the whole value
The subtask gets the parent's value as it is.
# Fix / priority:"@inherit" / components:"@inherit"With text
In the summary, description and text custom fields, @inherit is replaced by the parent's text. You can use it more than once.
# Test @inherit / description:"Tests for @inherit. Run on iOS and Android."On Offline itineraries, this creates Test Offline itineraries.
Inside a list
In components, fixVersions, affectedVersions, labels and watchers, the parent's values join the ones you list.
# Build the API / components:"API, @inherit" / labels:"@inherit, offline"Dates
dueDate and date custom fields take a date, @now or @inherit, each optionally followed by + or - and a length of time.
@now is today in the time zone of the browser you run the template from, or in UTC if the browser doesn't report one.
| Value | Due date |
|---|---|
dueDate:"2026-12-01" | 1 December 2026. Always YYYY-MM-DD. |
dueDate:"@now + 1w" | A week from today |
dueDate:"@inherit - 3d" | Three days before the parent's due date |
dueDate:"@now + 1m 2w" | A month and two weeks from today |
dueDate:"2026-12-01 + 2w" | 15 December 2026 |
Units
| Unit | Means |
|---|---|
y | years |
m | months, in a date |
w | weeks: 7 days |
d | days |
- Combine units, each once, largest first:
"@now + 1y 2m 3d". - A month added to the end of a month stops at the last day: 31 January plus
1mis 28 February. - With
@inherit, if the parent has no value in that field, the subtask gets none. - A time after a due date is dropped: Jira keeps the date. The editor warns.
Date time custom fields take the same values. There, @now is the current time, and a length of time moves the date and keeps the time: Deploy time:"@inherit + 1d" is a day after the parent's, at the same time.
Built-in fields
Field names are not case-sensitive. Every field is optional.
| Field | Value | Example |
|---|---|---|
| Summary | The text after #, up to 255 characters. Takes @inherit. | # Write tests |
description | Text, up to 5,000 characters. \n for a new line, and wiki markup. | description:"Steps\n* Open a trip" |
assignee | A person's name, email or account ID, who can be assigned in the space. Or @inherit, @currentUser, @unassigned. | assignee:"@currentUser" |
reporter | A name, email or account ID. Or @inherit, @currentUser. | reporter:"@inherit" |
issueType | The subtask's work type: a subtask work type of the space. Without it, the space's default. No @inherit. | issueType:"QA subtask" |
priority | A priority that exists on your site, in any case. | priority:"High" |
estimate | The original estimate: w weeks, d days, h hours, m minutes. A number without a unit is minutes, and the editor warns. | estimate:"1d 4h" |
dueDate | YYYY-MM-DD, @now or @inherit, with + or -. Dates | dueDate:"@inherit - 2d" |
affectedVersions | Versions of the space, separated by commas. | affectedVersions:"2.4" |
fixVersions | Versions of the space, separated by commas. | fixVersions:"2.5" |
labels | Labels separated by commas. A label can't contain a space. A label that doesn't exist yet is created. | labels:"offline, ios" |
components | Components of the space, separated by commas, in any case. | components:"iOS, API" |
watchers | People, separated by commas. Added once the subtask exists. | watchers:"@currentUser" |
link | Recognised, but not set yet: the subtask is created without it, with a note in the results. | link:"is blocked by ORB-11" |
Custom fields
Any custom field on the subtask's create screen can be set. Fields that are not on the screen are covered in Troubleshooting.
Naming a custom field
Write the field's name exactly as Jira shows it, with its spaces and capitals. Custom field names are case-sensitive, unlike built-in ones.
# Build the iOS screen / Squad:"Mobile" / Acceptance criteria:"Works offline"Or use the field's id, in any case. An id always wins over a name.
# Build the iOS screen / customfield_10042:"Mobile"A field whose name has a colon, a double quote or # can't be written by its name. Write its id instead; the editor shows it.
Supported field types
Team-managed spaces call some types by another name, shown in brackets.
| Type | Value | Example | Company-managed | Team-managed |
|---|---|---|---|---|
| Short text | Text | Release notes:"Offline mode" | ||
| Paragraph | Text, \n, wiki markup | Acceptance criteria:"* Works offline" | ||
| Number | A number | Story points:"3" | ||
| Date picker | YYYY-MM-DD, @now or @inherit, with + or - | Review date:"@now + 2w" | ||
| Date time picker (Timestamp) | Date, time and offset; @now or @inherit, with + or - | Deploy time:"2026-12-01T14:30+0000" | ||
| Labels | Labels separated by commas, none with a space | Tags:"offline, sync" | ||
| Select list, single (Dropdown) | One option, as written in Jira | Squad:"Mobile" | ||
| Select list, multiple | Options, separated by commas | Platforms:"iOS, Android" | ||
| Checkboxes | Options, separated by commas, as Jira writes them | Checks:"Design, Copy" | ||
| User picker (People) | Names, emails or account IDs, separated by commas; @currentUser | Reviewers:"@currentUser" | ||
| Radio buttons | One option | Customer impact:"High" | — | |
| Select list, cascading | A parent option, or a parent and one of its child options, separated by a comma | Area:"Frontend, Web" | — | |
| URL | A full address | Design:"https://www.figma.com/file/…" | — | |
| Group picker | Group names, separated by commas | Approvers:"mobile-leads" | — | |
| Project picker | A space key | Related space:"PPL" | — | |
| Version picker | Versions, separated by commas | Target version:"2.5" | — |
A field of any other type is skipped: the subtask is created without it, with a note in the results.
Find a custom field's id
- While signed in to Jira, open
https://your-site.atlassian.net/rest/api/3/fieldin your browser. - Find the field by its
name. Itsidis next to it, such ascustomfield_10042.
Rich text in descriptions
In description and paragraph custom fields, use Jira wiki markup. Put \n between lines.
| Format | Write | Result |
|---|---|---|
| Bold | *text* | text |
| Italic | _text_ | text |
| Link | [Help|https://timefork.io] | Help |
| Bullet list | * one\n* two | • one • two |
| Numbered list | # one\n# two | 1. one 2. two |
| Heading | h3. Done when | Done when |
| Monospace | {{offline}} | offline |
| Strikethrough | -text- | |
| Underline | +text+ | text |
| Citation | ??text?? | — text |
| Superscript | ^text^ | xtext |
| Subscript | ~text~ | xtext |