Add configuration options for definition description display options
Description
Admins can show the approval definition's description as a tooltip in approval lists and include it in action required emails. Both options are off by default, so nothing changes until an admin turns them on.
Change
-
Settings > General > Approval lists (New): "Show the definition description as a tooltip". When on, pointing at an approval's name shows the description in the work item/page panel, the project/space, global and personal approval lists (table and details view) and on the external approver dashboard.
-
Settings > Notifications > Action required emails (New): "Include the definition description". When on, these emails show "Description: ..." below the work item/page details, keeping the description's line breaks: call for action, delegate call for action, call for vote (and delegated), voting ended and voting expired (and delegated), automatic reminders, manual reminders and the external approver call for action, in Jira and Confluence.
-
New message template variable
{{ definitionDescription }}(${definitionDescription}in external approver templates). It has no value when the option is off or the description is blank, so a customised template wraps it:{{ if (definitionDescription) }}Description: {{ definitionDescription }}{{ end }}. The template preview shows a placeholder for it.
Decisions
-
The description comes from the definition version the approval was started from, not the latest one.
-
Customised message templates are left untouched: they show the description only where the admin adds
{{ definitionDescription }}; default (non-customised) templates show it automatically. The toggle's help text says so. -
JSM portal customers never see the description (it is admin-written and may be internal): not in lists, and never in the call for action of a user, group, work item field or vote step or in automatic reminders when they are an approver (each customer's message is rendered for the customer, with portal links), including the Slack/Teams email fallback. Agents on the same approval still get it.
-
Manual reminders in the default "Both" link mode keep the dialog text, description included, for every receiver (customers too), because the sender sees and edits that text before sending. Manual reminders in customer link mode leave the description out.
-
Slack/Teams messages, creator reminders and notification-only emails are not changed. Exception: a manual reminder sends the text from the reminder dialog to Slack/Teams too, so with the email option on that text includes the description line, which the sender can edit before sending.
-
Descriptions are loaded with one query per list and only when the option is on; email descriptions are cached per definition version (a version's description never changes).
Manual tester notes
-
Give a definition a description, start an approval from it.
-
Settings > General > Approval lists: turn on "Show the definition description as a tooltip". Hover the approval name in the work item/page panel, in the project/space approvals list, in the global approvals list (table and details view): the description shows. Turn it off: no tooltip.
-
Edit the definition description after starting the approval: the tooltip still shows the old text for that approval; a new approval shows the new text.
-
A definition without a description: no tooltip.
-
External approver dashboard (email approver): hover the approval name; the description shows when the option is on.
-
Settings > Notifications > Action required emails: turn on "Include the definition description". Start an approval with a user step: the call for action email shows "Description: ..." below the work item/page. Also check a vote step email and a delegate email.
-
With a customised Call for action template, the email shows no description until
{{ definitionDescription }}is added to the template. -
Send a manual reminder and wait for an automatic reminder: both show the description. An email step (external approver) email shows it too.
-
A multi-line description keeps its line breaks in the email, in Jira/Confluence notification deliveries and in the manual reminder (the reminder dialog shows a blank line between the description and the review link).
-
Turn the option off: emails show no description.
-
JSM portal: the customer sees no description tooltip. With the email option on, a JSM customer approver gets the call for action email without the description, and an automatic reminder to a JSM customer approver arrives without the description too.
-
JSM work item with a work item field step on Request participants, a customer and an agent among the participants: the customer's call for action email has no description, the agent's email has it.