Configure default assignee on pull request (OD-701)
jbauer opened 4 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 4 years ago
    Name Previous Value Current Value
    Type
    Support Request
    Improvement
  • Robin Shen added to iteration "7.1.0" 4 years ago
  • OneDev changed state to 'Closed' 4 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 4 years ago

    State changed as code fixing the issue is committed

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

    State changed as build #2600 is successful

issue 1/1
Type
Improvement
Priority
Normal
Assignee
Iterations
Issue Votes (0)
Watchers (4)
Reference
OD-701
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover