•  
      request #39352 Program add to top backlog post-action should ignore Teams
    Infos
    #39352
    Joris MASSON (jmasson)
    2024-10-04 16:43
    2024-09-04 15:20
    40979
    Details
    Program add to top backlog post-action should ignore Teams

    In a Program project, there is a special Tracker Workflow post-action "Add to top backlog" that allows users to set up a workflow so that changing the status of a Feature artifact moves it automatically in the Program Top backlog. As of today, this post-action is set up to only appear (be visible) and only run when the Program is linked to at least one Team project.

    This makes it hard to use Templates, because by nature, a Template of a Program will never be linked to any Teams, as its purpose is to be duplicated. When this duplication occurs, the code checks again to see if there are any Teams linked to the template, and as a result, the workflow cannot be inherited.

    As discussed with Product Owner, there is no real functional reason to forbid this post action when the Program has no Teams. At worst case, it will add to the top backlog, but then it cannot be planned anywhere because there are no Teams.

    The plan to fix this issue is the following:

    1. Introduce a new check to verify that a project is a program. This check verifies that the "Program" service is enabled and that the current user can access the project. It does not verify the presence of Teams whatsoever.
    2. Replace the existing check with the new check at 1 when listing the workflow post-actions.
    3. Replace the existing check with the new check at 1 when running the workflow "Add to top backlog" post-action.
    4. As a result, the project inheritance should be fixed. The workflow post-action should be inherited.
    Program Management
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2024-10-04
    Attachments
    Empty
    References
    Referencing request #39352

    Git commit

    tuleap/tuleap/stable

    chore: Apply PSR-4 folder structure to Program Management tests 177bf11d80
    chore: Use a more realistic project retriever stub 67d511b6ac
    chore: Use a more realistic user retriever stub ac1ced761f
    feat: Use different program check to list top backlog actions e8b4660d1a
    refactor: Extract cache out of ProgramAdapter ad0e668a76
    feat: pass full projects to tracker duplicated event 71bad8618b
    refactor: Optional object instead of boolean verify d6c86bd1a0
    refactor: rename Plan -> NewPlan 2ac11a412c
    feat: retrieve PlanConfiguration from Template project afb9d33f50
    refactor: rename Plan -> PlanConfiguration 1766cf320e
    feat: Apply tracker mapping to Program Increment tracker bbf7b28ae0
    feat: Apply tracker mapping to Iteration tracker c845647794
    feat: Apply tracker mapping to Trackers that can be planned 0d7a4b792d
    feat: Map user groups that can plan and save new config e6cb7a0632
    feat: Use different program check to run top backlog post-action 56c7e70d41

    Follow-ups