WIP - multiple versions in work packages#22171
Closed
brunopagno wants to merge 8 commits intoopf:devfrom
Closed
Conversation
273342a to
2bf2495
Compare
c544e10 to
667494e
Compare
Contributor
Author
|
Closing in favour of #22473 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Epic - https://community.openproject.org/projects/stream-jira-exit/work_packages/71752/activity
The idea is that work packages should two standard fields for versions, each should be able to reference multiple versions:
But to get there, there are a few open questions to which I am not sure how to deal with, yet.
Assumptions
work_package_associated_versionstable with a fieldkindwhich can contain values "target/observed_in".work_package.versioneverywhere forwork_package.release_version.last(or something similar), and create a Setting configuration where admins can enable/disable multiple versions per work package.versionstable torelease_versionstable, when the feature is released, and from there on, we will rely onassociated_versionsfor everything, effectively deprecating thework_package#versionfield. [WL: I Maybe I don't understand it properly. but why would the versions table need to be migrated? They are still the same thing: versions. They are not necessarily target versions or release versions]A rough plan (Work in Progress)
This PR:
Future work:
More context at https://community.openproject.org/documents/206