#701  Configure default assignee on pull request
Released
jbauer opened 2 years ago

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?

Robin Shen changed fields 2 years ago
Name Previous Value Current Value
Type
Support Request
Improvement
Robin Shen added to milestone "7.1.0" 2 years ago
OneDev changed state to 'Closed' 2 years ago
Previous Value Current Value
Open
Closed
OneDev commented 2 years ago

State changed as code fixing the issue is committed

OneDev changed state to 'Released' 2 years ago
Previous Value Current Value
Closed
Released
OneDev commented 2 years ago

State changed as build #2600 is successful

issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Milestones
Issue Votes (0)
Watchers (4)
Reference
onedev/server#701
Please wait...
Page is in error, reload to recover