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/23 to 24/Jan/23 - 7 days

...

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