Skip to content
Create multiple subtasks

Syntax reference

Each line that starts with # is one subtask. After its summary, each / adds a field.

For: Everyone Updated
On this page
  1. Anatomy of a template
  2. Lines and fields
  3. One line per subtask
  4. Quoting values
  5. Line breaks in a value
  6. Slashes inside a value
  7. Upper and lower case
  8. Special values
  9. @inherit in detail
  10. Dates
  11. Units
  12. Built-in fields
  13. Custom fields
  14. Naming a custom field
  15. Supported field types
  16. Find a custom field's id
  17. Rich text in descriptions

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. 1# starts a subtaskEvery subtask begins on a new line with #.
  2. 2SummaryThe subtask's name, up to the first /.
  3. 3/ adds a fieldAdd as many as you need, each after its own /.
  4. 4Field nameA built-in field, or a custom field's name.
  5. 5: separates name and valueSpaces around it are optional.
  6. 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 tests on 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: High

Line 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 writeCaseExample
Built-in field namesAny casedueDate, duedate and DUEDATE are the same field
Custom field namesExactly as in JiraSquad is not squad
Custom field idsAny casecustomfield_10042
Priority, work type, component and version valuesAny case"high" finds High
Other valuesWritten as you type themA label "Offline" stays Offline

Special values

Special values start with @ and are filled in when the subtasks are created.

ValueGivesFields
"@inherit"The parent work item's value of the same field. More about @inheritThe summary and every field except issueType
"@unassigned"No assigneeassignee
"@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.

ValueDue 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

UnitMeans
yyears
mmonths, in a date
wweeks: 7 days
ddays
  • 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 1m is 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.

m is months in a date, minutes in an estimate

dueDate:"@now + 1m" is a month from today. estimate:"1m" is one minute.

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.

FieldValueExample
SummaryThe text after #, up to 255 characters. Takes @inherit.# Write tests
descriptionText, up to 5,000 characters. \n for a new line, and wiki markup.description:"Steps\n* Open a trip"
assigneeA person's name, email or account ID, who can be assigned in the space. Or @inherit, @currentUser, @unassigned.assignee:"@currentUser"
reporterA name, email or account ID. Or @inherit, @currentUser.reporter:"@inherit"
issueTypeThe subtask's work type: a subtask work type of the space. Without it, the space's default. No @inherit.issueType:"QA subtask"
priorityA priority that exists on your site, in any case.priority:"High"
estimateThe original estimate: w weeks, d days, h hours, m minutes. A number without a unit is minutes, and the editor warns.estimate:"1d 4h"
dueDateYYYY-MM-DD, @now or @inherit, with + or -. DatesdueDate:"@inherit - 2d"
affectedVersionsVersions of the space, separated by commas.affectedVersions:"2.4"
fixVersionsVersions of the space, separated by commas.fixVersions:"2.5"
labelsLabels separated by commas. A label can't contain a space. A label that doesn't exist yet is created.labels:"offline, ios"
componentsComponents of the space, separated by commas, in any case.components:"iOS, API"
watchersPeople, separated by commas. Added once the subtask exists.watchers:"@currentUser"

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"

Two fields with the same name

If two custom fields share a name, the app sets neither and shows both ids. Use the id of the one you mean.

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.

TypeValueExampleCompany-managedTeam-managed
Short textTextRelease notes:"Offline mode"
ParagraphText, \n, wiki markupAcceptance criteria:"* Works offline"
NumberA numberStory points:"3"
Date pickerYYYY-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"
LabelsLabels separated by commas, none with a spaceTags:"offline, sync"
Select list, single (Dropdown)One option, as written in JiraSquad:"Mobile"
Select list, multipleOptions, separated by commasPlatforms:"iOS, Android"
CheckboxesOptions, separated by commas, as Jira writes themChecks:"Design, Copy"
User picker (People)Names, emails or account IDs, separated by commas; @currentUserReviewers:"@currentUser"
Radio buttonsOne optionCustomer impact:"High"—
Select list, cascadingA parent option, or a parent and one of its child options, separated by a commaArea:"Frontend, Web"—
URLA full addressDesign:"https://www.figma.com/file/…"—
Group pickerGroup names, separated by commasApprovers:"mobile-leads"—
Project pickerA space keyRelated space:"PPL"—
Version pickerVersions, separated by commasTarget 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

  1. While signed in to Jira, open https://your-site.atlassian.net/rest/api/3/field in your browser.
  2. Find the field by its name. Its id is next to it, such as customfield_10042.

Rich text in descriptions

In description and paragraph custom fields, use Jira wiki markup. Put \n between lines.

FormatWriteResult
Bold*text*text
Italic_text_text
Link[Help|https://timefork.io]Help
Bullet list* one\n* two• one
• two
Numbered list# one\n# two1. one
2. two
Headingh3. Done whenDone when
Monospace{{offline}}offline
Strikethrough-text-text
Underline+text+text
Citation??text??— text
Superscript^text^xtext
Subscript~text~xtext

A # inside quotes is text, so a numbered list in a description does not start a new subtask.