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 current start or end date or the title of the document being summarized.

...

Here are a couple examples of using variables ,y ou 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/01/202323 to 1024/01Jan/2023 23 - 7 days

...

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

...

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

...

John Doe has submitted a request for a Annual Leave from 01/01Jan/2023 23 to 10/01Jan/202323, 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/01Jan/2023 23 to 18/01Jan/2021 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