jbauer opened 2 years ago
|
|||||||
Robin Shen changed fields 2 years ago
|
|||||||
Robin Shen added to milestone "7.1.0" 2 years ago
|
|||||||
OneDev changed state to 'Closed' 2 years ago
|
|||||||
State changed as code fixing the issue is committed |
|||||||
OneDev changed state to 'Released' 2 years ago
|
|||||||
State changed as build #2600 is successful |
Hi,
it seems like that the default assignee for a pull request is always the project owner. Is there any option to change that to the person who opened the pull request if that person has code write permissions?
Reason: In a company there are a few persons who can create new projects and thus these few persons are project owners of all projects. However they are not responsible to commit pull requests for all projects, thus they should be not be default assignee for pull requests. Instead all developers should be able to merge their own pull requests once approved, given that these developers have code write permission for a given project. So the developer who opened the pull request would be a better default assignee for a pull request.
I am relatively sure that this would require a groovy script? However I have a hard time figuring out the API allowed to use in such a script. I think there are also no API docs published for the server project that one can read through, right?