Implementation/62981 show and edit linked phases on work packages #18574
+1,944
−565
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
https://community.openproject.org/wp/62981
What are you trying to accomplish?
Screenshots
Work pages receive a new attribute: The phase they belong to.
The name of the attribute is "Project phase".
A work package can be assigned to a single phase. There is no multi assignment.
The attribute can be administrated same as every other attribute (e.g. status, assignee, version).
It can be moved in and out of an attribute group.
Existing installations are not migrated to have the attribute activated for their existing types.
The attribute's value is displayed including the colored type indicator prefix in the split/full.
The attribute can be changed via an ng-select.
In case the associated phase is later disabled in the project administration, the value is no longer displayed
The API v3 has a dedicated resource for phases
GET endpoint for referencing a selected phase
GET endpoint for selecting all available (active) phases of the project when selecting the value of the attribute.
The new functionality is hidden behind the feature flag
Not part of the original scope
Cases to consider: