hi,
i used 'yet another commit checker' hook in my stash instance to restrict user to commit with issue id mentioned in message must , that condition was assignee should be mentioned and status of the issue should be in progress.
But now what i am getting problem is the users who are not assigned to that JIRA issue are also able to commit with that issue key.
i want only assignee can commit with the assigned issue-key, so please let me know how can i set that condition.
With the Commit Policy Plugin, you can specify the exact JQL query that returns the issues that are required in the commit message.
In your case this should work:
assignee = currentUser() and status = "In Progress"
This is a frequently used rules, see other popular rule examples here.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.