private suspend fun checkIssuePriorityCompatibility(issue: Issue, newPriority: IssuePriority)

Checks that the priority of an issue can be changed to newPriority

Parameters

issue

the Issue to check compatibility with, must have a set template

newPriority

the new priority of the issue

Throws

if the newPriority is not compatible with the template of the issue