#447  Able to override issue state transition rules at project level
Closed
Stanislav N. opened 2 years ago

When looking in Administration -> Issue Setting -> State Transitions I saw:

Define default issue transitions for all projects here. A certain project can override this setting to define its own issue transitions.

But in project's settings there are no ability to do that - there are no settings about issues, I can only enable or disable them.

Robin Shen commented 2 years ago

This is a documentation mistake. State transitions per project is not implemented yet. Changed issue type to improvement.

Robin Shen changed fields 2 years ago
Name Previous Value Current Value
Type
Bug
Improvement
Robin Shen changed title 2 years ago
Previous Value Current Value
No way to override issue transitions per-project while admin panel says it's possible
Able to override issue state transition rules at project level
Robin Shen changed state to 'Closed' 2 years ago
Previous Value Current Value
Open
Closed
Robin Shen commented 2 years ago

Specify issue transition rule for certain projects is actually possible. This can done by adding a project criteria to applicable issues setting of the rule.

Stanislav N. commented 2 years ago

Hm, yes, you're right. Yet it is counterintuitive (otherwise this issue won't be created at all) and docstrong in state management interface misleads.

I think there are two ways to go:

  1. Fix docstring on top of issue's state management that do not add misunderstandings and mention that project should be defined in "Applicable issues" field.
  2. Add state management UI in project's settings.
Robin Shen commented 2 years ago

Thanks. Will add necessary documents on that. The way of using applicable issues is much flexible and concept consistent, and it allows configuring state transition not only based on projects, but also based on any custom field values, and they all conveyed via OneDev's issue query.

jbauer referenced from other issue 2 years ago
issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (5)
Reference
onedev/server#447
Please wait...
Page is in error, reload to recover