How do I reassign to specific user?
Hi
How do I reassign a issue to a specific user?
Many thanks.
How do I reassign a issue to a specific user?
rule Set Assignee to Appropriate User
when issue.Type.becomes({enhancement}) {
if (Assignee == null) {
issue.Assignee = WHAT?
}
}
Many thanks.
Please sign in to leave a comment.
To find specific user, you can use following code:
var xxx; for each user in {group: All Users}.getUsers() { if (user.fullName == "Full Name") { xxx = user; } if (Assignee == null) { issue.Assignee = xxx; } }And of course, you can take any group which contains your user, instead of "All Users" group.
I will test it later today and let you know how I get on.
Please help.
You could use workflow, like:
rule reassignToTester when issue.State.becomes({Fixed}) { for each user in {group: Testers}.getUsers() { if (user.fullName == "Full Name") { issue.Assignee = user; } } }But make sure, that required user is in Assignees for the project.
Is it right for you?