How to restrict assignee to be valid within certain group?
(1) Need a group configuration for assignee. (seems no such config. available)
(2) Block events if assignee is not in the right group via issueCreated, issueUpdated, issueAssigned events. ==> How to block events in jira listeners?
As I understand from your question, you want the assignee to be restricted within a certain user group. I think you can acheive that by modify you project permission schemes, you can specifiy the group you want it to be assignable by the Assignable User permission. So other users who belongs to other groups won't be able to be assigned. For further information, you may refer to the documentaion:
People have covered most of your question already, but I'd like to point out that your thought 2 is impossible. You can't "block" somethign in a listener because a listener happens *after* the event, so it's too late.
I also want to restrict the "Assignee" for issues in a particular state (Newly opened issues must first be assigned to one person to review before they are then Assigned to the correct user).
However the issue is always automatically assigned to the person raising the issue (who is not part of the Reviewteam group).
I tried with
But again, the issue is assigned to the person raising the issue and not the user "Reviewer".
Am I doing this correctly? Is this something that needs to be done on the "Step" or could it be done on the "Transition"?
CTW pretty much gets it dead on. To summarize:
This then creates a scenario where you must change the assignee, and the assignee must be a member of the desired group - otherwise, the state won't change.
Hey Mat Chavez,
Has anyone actually tried this and seen it work?
It seems impossible to have the validator result as positive as you cannot actually change the Assignee during the transition as moving the card on the story board transitions the status only and not the assignee.
Am I missing something vital?
Steps to replicate:
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs