YouTrack Standalone 2017.1 Help

Auto Raise Priority

This workflow automatically updates the priority of an issue if it is not resolved within a set time frame.

File Namejetbrains-youtrack-autoRaisePriority
Auto-attachedno
RulesAuto-raise priority from Normal to Major if not resolved in 7 days (scheduled)
Auto-raise priority from Major to Critical if not resolved in 10 days (scheduled)
Auto-raise priority from Critical to Show-Stopper if not resolved in 12 days (scheduled)

Use Case

This workflow helps you meet specific service-level agreements. The default workflow is set up for a support desk that tries to resolve all issues within 14 days. As this deadline approaches, unresolved issues automatically increase in priority.

Rules

This workflow includes three rules that change the priority based on the amount of time that has passed since an issue was opened. You can easily customize this workflow to help you resolve issues within a set time frame by simply changing the number of days.

Auto-raise priority from Normal to Major if not resolved in 7 days

The first rule changes the priority of an issue from Normal to Major if it is not resolved after seven days. The rule runs daily starting at 08:00.

schedule rule Auto-raise priority from Normal to Major if not resolved in 7 days daily at 08:00:00 [issue.resolved == null && issue.Priority == {Normal} && issue.created < now - 7 days]{ issue.Priority = {Major}; }

Auto-raise priority from Major to Critical if not resolved in 10 days

The second rule changes the priority of an issue from Major to Critical if it is not resolved after ten days. The rule runs daily starting at 08:05.

schedule rule Auto-raise priority from Major to Critical if not resolved in 10 days daily at 08:05:00 [issue.resolved == null && issue.Priority == {Major} && issue.created < now - 10 days]{ issue.Priority = {Critical}; }

Auto-raise priority from Critical to Show-Stopper if not resolved in 12 days

The last rule changes the priority of an issue from Critical to Show-Stopper if it is not resolved after 12 days. The rule runs daily starting at 08:10.

schedule rule Auto-raise priority from Major to Show-Stopper if not resolved in 12 days daily at 08:10:00 [issue.resolved == null && issue.Priority == {Critical} && issue.created < now - 12 days]{ issue.Priority = {Show-Stopper}; }
Last modified: 18 April 2017