Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using variables in auto-summary fields can be a useful way to dynamically insert content into a summary. For example, you might use a variable to insert the start or end date or the title of the document being summarized.

To use variables in an auto-summary field, you will need to use a special syntax that includes the variable name enclosed in curly braces. For example, to insert the start date, you might use the following syntax: ${startDate}.

Here are a couple examples of using variables ,you can use them by pasting the example into your Jira instance:

Info

Maximum length of summary is 255 characters (with spaces)

Simple auto-summary:

Code Block
${reporter}'s ${vacationType} Vacation Request

John Doe’s Annual Leave Vacation Request

...

Code Block
${reporter}'s ${vacationType} Vacation: ${startDate} to ${endDate}

John Doe’s Annual Leave Vacation: 01/Jan/23 to 15/Jan/23

...

Code Block
"${reporter}'s ${vacationType} Vacation: ${vacationDays} Days Off"

John Doe’s Annual Leave Vacation: 7 Days Off

...

Code Block
${reporter}'s ${vacationType} Vacation to approve/deny by ${supervisor}

John Doe’s Annual Leave Vacation to approve/deny by Kate Kowalski

...

Extended auto-summary:

Code Block
${reporter} will be on ${vacationType} from ${startDate} to ${endDate} - (${vacationDays} days).

John Doe will be on Annual Leave from 01/Jan/23 to 24/Jan/23 - 7 days

...

Code Block
${reporter} has requested a ${vacationType}. Available time: ${availableTime}, used time: ${usedTime}. ${supervisor}, please review and approve/deny.

John Doe has requested a Summer Vacations. Available time: 20 days, used time: 10 days.
Kate Kowalski, please review and approve/deny.

...

Code Block
${reporter} will be taking a vacation from ${startDate} to ${endDate}, falling under the ${workweekScheme} workweek scheme.

John Doe will be taking a vacation from 01/Jan/23 to 10/Jan/23, falling under the Office workweek scheme.

...

Code Block
${reporter} has requested a vacation. Current available time is ${availableTime}, used time is ${usedTime}, and carryover time is ${carryOverTime}.

John Doe has requested a vacation. Current available time is 20 days, used time is 10 days, and carryover time is 10 days.

...

Code Block
${reporter} has submitted a request for a ${vacationType} from ${startDate} to ${endDate}, totaling ${vacationDays} days. 

John Doe has submitted a request for a Annual Leave from 01/Jan/23 to 10/Jan/23, totaling 7 days.

...

Code Block
${supervisor}, please be advised that ${reporter} will be taking a ${vacationType} from ${startDate} to ${endDate}, totaling ${vacationDays} days. 

Kate Kowalski, please be advised that John Doe, will be taking Sick leave from 15/Jan/23 to 18/Jan/23, totaling 3 days.

...

Examples for half daily time periods:

You can use the same special variables as in daily time period, plus additional variable: ${vacationHalfOfDay}

Code Block
${reporter} will be taking a ${vacationType} on ${startDate}, for ${vacationHalfOfDay}. All responsibilities will be delegated during this time.

John Doe will be taking a private leave on 23/Jan/23, for 1st half. All responsibilities will be delegated during this time.

...

Examples for hourly time periods:

You can use the same special variables as in daily time period, plus additional variables: ${vacationStartTime} ${vacationEndTime} ${vacationHours} ${vacationMinutes} ${vacationMinutesSum} ${timeZone} ${timeZoneFull}

Code Block
${reporter}'s ${vacationType} Vacation: ${vacationHours} Hours and ${vacationMinutes} Minutes Off

John Doe’s private leave Vacation: 3 Hours and 30 Minutes Off

...

Code Block
Vacation Request: ${reporter}'s ${vacationType} from ${vacationStartTime} ${timeZone} to ${vacationEndTime} ${timeZone}

John Doe’s private leave from 7:56 AM Indian/Maldives to 10:56 AM Indian/Maldives