•  
     
    story #21362 Base artifact timeframe on a linked artifact
Summary
Empty
Base artifact timeframe on a linked artifact

The start and end dates of my story are the one of the milestone it is planned into.

The semantic

In the tracker administration (e.g Story)), there is a new option for timeframe semantic: Based on linked artifact (better term to be defined)

We can choose a tracker in the same project (e.g Sprint) that has a timeframe semantic already defined.

The semantic works this way:

  • When a Story artifact is linked by one (and only one) Sprint artifact (Sprint is the source of the link)
  • And the Sprint artifact has a timeframe defined
  • Then the Story artifact timeframe is the same as the Sprint artifact.

If the story is planned in more than one sprint, then we cannot determine the start and end dates: it is considered as an error.

The timeframe of the sprint tracker cannot be removed until no other tracker is based on its timeframe.

A tracker created (duplicated) from the story tracker will inherit the timeframe configuration, except when it is created in another project.

New timeframe configuration is exported/imported in XML and is exposed in the REST API.

When the timeframe is based on another tracker, then the border of the corresponding tasks in the Gantt chart of the Roadmap widget is dashed instead of solid.

Usage in templates

In our existing templates (Scrum & Agile ALM)

  • Progress semantic should be set on Stories and Epics tracker (remaining_effort & initial_effort)
  • Inherited Timeframe semantic should be set on Stories (-> Sprint)
  • Timeframe semantic should be set on Sprints and Releases
Empty
Empty
Status
Empty
Done
Development
  • [x] Does it involves User Interface? 
  • [x] Are there any mockups?
  • [ ] Are permissions checked?
  • [x] Does it need Javascript development?
  • [x] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [x] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#21362
Nicolas Terray (nterray)
2021-07-05 14:16
2021-05-17 12:37
3796

References
Referencing story #21362

Git commit

tuleap/tuleap/stable

feat: dashed border when dates are implied b6b6aa8d2f
[Refacto] Stop injecting nullable fields in SemanticTimeframe 7b39c0a623
Remove TimeframeBuilder usage from Roadmap 15e319944e
Remove TimeframeBuilder usage from program_management 9532853e33
Remove TimeframeBuilder usage from ArtifactTimeframeBuilder dfdb5fb9a7
Remove TimeframeBuilder usage from Tracker ca30b82f91
Remove usage of TimeframeBuilder from MilestoneFactory d80797bcb6
Delete deprecated TimeframeBuilder class 4b8546cb25
Display current configuration d2f2c28242
Implement semantic mecanism 5c576e9d11
Inform front end that the timeframe is implied d2a9870cab
TimeframeImpliedFromAnotherTracker::NAME should match its name better 3d7fabe8e4
Prevent deletion of links fields when semantic is used 0f6c26edc9
Ease SemanticTimeframeBuilder instanciation ad12e80aeb
Report errors of time periods in widget cd8dc06d3d
Display list of trackers basing their semantics on the current tracker 429fa70612
Prevent tracker admins to reset the semantic if there are trackers relying on it 715e799cb8
Convert semantic-timeframe-option-selector to TS 69b8f7eadb
Semantic timeframe admin as a Vue app 22350a3253
Expose implied semantics timeframe to rest fdfe4d51b8
Tracker admins can define implied timeframes in trackers 747ea231b8
fix: Do not display tasks with no links from the tracker they inherit their timeframes from 6216e3a678
fix: s/implied from/inherited from in UI 5cb1fca5b8
feat: Handle semantic timeframe implied from another tracker in tracker duplication 1378aa576e
feat: XML import/export of implied timeframe semantic 3b92b7def7
Configure epics and user stories semantics timeframe and progress in templates bb730a9115

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes