I have created a permission scheme to allow a specific group of users to moved issues from project A to project B, But do not want to give these users the assign permission, therefore when they move issues, they can not select the assignee?
Problem is these users must be assignable on all projects, but when they move issues accross projects I require the Project Lead to be selected automactically. In most cases the Prject lead is the Project manager who will then get the tasks and re-assign it to the correct person/developer based on priority?
But for some reason, these users who are an assignee and have to be assignable, remain the assignee, instead of it becoming the project lead?
Any advice or better methods to accomplish it?
First of, why don't you simply give those people the assign issue rights? And train them in always selecting the project lead.
Another option might be to do something with the scriptrunner plugin (you can probably write your own listener to listen to the Move Issue event and autoassign the issue to the project lead).
You might even be able to use the autotransistion function to simply auto transition the issues back into the same status using a special transition to simply fill in the assignee.
We had given these users access on and off, but they tend to abuse the access. Therefore forcing them into the correct process may be the only viable solution.
Could you assist me in the right direction with the listener?
I presume it will be along the line of:
I'm not sure, If I couls ask for assistance on this?
For starters here is the listeners page from the groovy script listeners (by Jamie).
There are some examples and some comments worth going thru.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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