•  
     
    story #8833 show, import and manipulate links
Summary
Empty
show, import and manipulate links
Empty

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

  • REST route

 

Empty
Status
Empty
Done
Development
  • [ ] 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?
Empty
Details
#8833
Manuel Vacelet (vaceletm)
2016-04-04 11:35
2016-02-02 14:32
8944

References

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
User avatar
  • I want to
    -show, import manipulate links 
    +show, import and manipulate links 
  • 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