Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #35151 Issue when creating a link between User story and Epic with REST
    Infos
    #35151
    Sebastien Marchal (sebastien_marchal)
    2023-11-28 10:38
    2023-11-28 10:38
    36798
    Details
    Issue when creating a link between User story and Epic with REST

    Hello Everybody I am using the REST api to create a User Story artifact and link it to the EPIC. I am using the 'values_by_field' method for the json. The epic creation works fine, the user story creation works fine if I don't create the parent relationship between epic and user story. If I create the link, I get a response 500 if I do it this way: The query I launch (python code that will go through json serialisation): data = { 'i_want_to': {'value':"Initialize the work environment"}, 'in_order_to': { 'value':"start developping the kit"}, 'links': { 'all_links': [ {'id': epic['id'], 'direction':'reverse','type':'_is_child'} ] }, 'acceptance_criteria': {'value': "all the tasks are completed"} } Which is based on the REST api explorer example - which use the 'value' style. Not sure how to do that ?

    I unfortunatly no access to the log. Is there a trick to get more after the query from the server ?

    API
    15.0
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty