/
4.2 Template Variable

4.2 Template Variable

Variables are special content added to a blueprint or template. During the editing of a report template, they can be added through the tools menu, or copied directly from the blueprint of staff weekly report or project weekly report.

This plugin provides a series of useful variables, which will be automatically converted into corresponding content when the report is generated, making your report richer and smarter.

无标题-20241128-030925.png $timePeriod

The time period of the report, for example: 2022-07-11~2022-07-17

无标题-1-20241128-030944.png $currentUser

Current reporter, based on the "User mention" macro, e.g. Bob

无标题-20241128-030957.png $userFullName

The full name of the current reporter,for example: admin

无标题-1-20241128-031011.png $theWeekWorkContent

It means work content in this week. The work logged by the reporter in Jira this week will be summarized into a table and showed on the page. The columns of the table are: "Summary" and "Work log", where "Summary" refers to the summary of the issue, and "Work log" refers to the log remark of the issue ,and will be classified by week, for example:

 

无标题-20241128-031030.png

 

无标题-1-20241128-031046.png $totalWorkHours

Report on the work hours spent by the reporter in all projects this week, for example: 4h

无标题-20241128-031103.png $planNextWeek

Currently it is fixed content, a placeholder that needs to be filled in manually by the user, for example:

无标题-1-20241128-031124.png $currentProject

Show the project name and icon in the report, click it to jump to Jira to view the project, for example:

无标题-20241128-031142.png $theWeekWorkContentForProject

Show the number of new issues, the number of resolved issues, issue status distribution, and the issue list for the project this week in the report.

The issue list table contains "Summary", "Issue Type", "Status", "Time Cost" information, for example:¥

无标题-1-20241128-031219.png $totalWorkHoursForProject

The reporter reported the total project investment time this week, for example: 4 hours