story #10736 administrate artifact links type at project level
administrate artifact links type at project level
  • Artifact links v2 are allowed to all projects by default (no longer progressive deployment in site admin)
  • Project administrators can decide to turn AL v2 off and only have "not typed" links
    • The behaviour is then the same than when AL v2 was not activated for one project
    • This is a new "Administration" panel at tracker admin level with one pane dedicated to ALv2 management
    • In the pane there is a switch that allows to activate / desactivate ALv2 usage
  • Project administrators can choose to disable some some types at project level
    • System type "_is_child" cannot be disabled if project is using hierarchy
      • If "_is_child" is disabled, project cannot activate hierarchy
    • System type "covered_by" cannot be disable if project is using Test Management
      • If "covered_by" is disabled, project cannot activate TTM
    • Same for artifactfolder & "in_folder" type
  • For cross-project usage
    • Nothing is done, if one project that use a type points toward an artifact in a project that doesn't, the link will be displayed with the type
  • The configuration of allowed type is inherited at project duplication
  • Allowed/restricted types are set in XML import/export
    • <nature> is extended to have a "is_used" attribute
    • If natures are specified at import with "is_used" attribute, they are setting the configuration (XML override seetings from project inheritance)
  • At desactivation of a given nature, if there are artifacts that are using this type
    • No modification of the exisiting data is done (link remains with types)
    • At update of those artifacts, depending on what is the easier to implement
      • Either keep nature until artifact link field is updated
      • Or discard nature at first artifact update
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Manuel Vacelet (vaceletm)
2017-11-08 11:20
2017-10-10 11:17

Referencing story #10736

Git commit


Add an Admin navigation tab at the list of Trackers d80b0511a0
Create the admin page using BurningParrot 4c84473633
Display Breadcrumb in BurningParrot PHP pages cd3dc20003
Create a DB table for projects that deactivate Artifact links v2 63f974ddbb
Add a form to switch on / off Artifact links v2 d5f45cdfa6
External plugins can force the usage of artifact link types 759d59ba03
Activation via XML must use the new object be4d7f2d58
Remove siteadmin Artifact link types restrictor 16ff4b8755
Refactoring: Extract in a dedicated controller 02036cdd55
Redo the first import in forgeupgrade b6b6df352e
Display all types in UI 70fee20dfc
Enable and disable types per project 33609ffbf7
Inherit artifact link v2 type usage at project creation 4597562329
Handle the _is_child type 5729172dab
Fix fatal error on tracker creation page a544c9e440
Handle _is_folder link 557a544187
Handle _covered_by type 467e9a5ea2
Check that type _is_child is used when enforcing link type 079e38cc7e
The selectboxes display only selectable types c3c6448ad5
Check type usage during changeset creation 8a9bc248ce
Tracker table report take into account disabled types 5da28efcd5
Display only one feedback on field validation error 82261539cb
Import XML can deal with disabled types 5039a52521
Handle _in_folder type 9fa00a1bba
XML export deals with disabled type in project e828d421ed
Handle _covered_by type ca5725ee90
Check that type _covered_by is used when enforcing link type f4c49eb2d5
Handle _covered_by type de34c5283b
Use new objects to deal with artifact link types activation b2116c08a4
TTM must use the artifact link types at service activation 05e491596f


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
  • Permissions set to