Definition of artifact links
- There is one system link nature "_is_child" that cannot be modified.
- Site administrator can define new type nature (eg reported_in, fixed_in, covers, etc). The definition of a new nature includes:
- a nature name eg. "reported_in"
- a Forward label eg. "Reported in"
- a Reverse label eg. "Contains"
- the possibility to translate the label in all languages defined on the platform. By default falls back on english
Once defined by site admin, the natures are usable anywhere
Visualization of links nature
For "_is_child" this is used for for "parent" display (on top of artifact page, on top of artifact title) as well as in "Children" tab
For all nature used by artifact, the artifact link field evolves to show grouping by nature in addition to grouping by nature:
The fields that are shown in the "nature" tabs are fixed:
- Project,
- Tracker,
- Summary (if there is a semantic defined)
- Status actual value (not just Open/Closed) (if there is a sematic defined)
- Last update date
- Submitted by
- Assigned to (if there is a semantic defined)
Define and update links
- When one add a new link, there is a select box to choose among the available natures (there is a warning when several ids are selected, so user know that all ids will be linked with the same nature
- When links are shown, there is an edit button that allow to change the nature of the link (it's possible to select no nature at all)
- Change of nature is recorded
Import links
- XML import format evolves, for artifact link field change it becomes:
<field_change type="art_link">
<value nature="reported_in">1234</value>
<value nature="_is_child">12</value>
<value>42</value>
</field_change>
- If the given nature doesn't exist on the plateform, then the import is rejected
Not covered