•  
      request #9340 Add links between artifacts from REST
    Infos
    #9340
    Thibault FEREYRE (tfereyre)
    2017-04-11 10:30
    2016-07-22 09:24
    9149
    Details
    Add links between artifacts from REST

    I use the api/explorer to add link between artifact but I always have the following:

    { "error":

    { "code": 500, "message": "Internal Server Error: error: Nature is missing for artifact #1280.\n" }

    }

     

    Json sent :

    { "values": [

    { "field_id": 1151,

    "links": [{ "id": 1280 } ] }

    ] }

    I don't know how to add the nature to my json. I read the wiki but it seems to be incomplete. I also looking for a test in the source code without sucess.

    • enhancement
    • internal improvement
    API (SOAP|REST)
    Empty
    CentOS 6
    Empty
    Stage
    Empty
    Closed
    2017-04-11
    Attachments
    Empty
    References

    List of items referenced by or referencing this item.

    Artifact Tracker v5

    Follow-ups

    • User avatar

      This is issue is fixed with story #9651, artifact link types are now fully handled by REST API

      See details in documentation.

      This is available starting Tuleap 9.6.99.42


      • Status changed from Verified to Closed
      • Reported in version cleared values: 8.16
      • Connected artifacts
      • Close date set to 2017-04-11
    • User avatar

      The issue is confirmed, when projects are using artifact link natures, it's no longer possible to add artifact links via REST


      • Status changed from New to Verified