If developers use a common, shared user account in their hook scripts, there is no way to check if issues mentioned in the commit message are assigned to the JIRA user resembling to the VCS committer because JQL currentUser() function carries no useful meaning in that scenario.
Provide a way to check if issues mentioned in commit message are assigned to the committer - DONE
Have more questions? Submit a request
-
Levente Szabo Commit Policy Plugin 2.0.0, released yesterdays, is our biggest release yet.
This version implements verifying if the issue is assigned to the committer of the VCS change.
See this recipe: http://www.midori-global.com/products/jira-commit-policy-plugin/documentation/best-practices#commit-for-assigned-issues
Let me mention that we use a slightly improved variation of this condition, that also allows "supervisors" to commit against any issue in the project. This plays really well with our internal code review processes. See: http://www.midori-global.com/products/jira-commit-policy-plugin/documentation/best-practices#commit-for-assigned-issues-with-reviewer
Please sign in to leave a comment.
1 Comments