Search code examples
restversionone

Relashionship between Epic and Rquest in VersionONE REST Response


I am creating a Tree Table which list the Requests, Epics they contain and then the backlogs, such as this:

Request_1 |_Epic_1 |_Backlog_1 |_Backlog_2 ...

The relationship between the Epics and the backlogs and easy because the Backlog data contains the name of the Epic parent (in the answer REST) but I can't find the relationship Request -> Epic. Yet there is a relationship between the Request and the Epics that I can see in the web interface of Version One. Is there a way of finding this relationship?

Thank you in advance for your answers.


Solution

  • In fact, the metadata showed me that there is an Attribute "Requests" and his reciproque for Request which is "Epics". These attributes are not displayed unless using the selection parameter:

    rootURL/rest-1.v1/Data/Epic?sel=Name,Description,Number,Super.Number,Requests.Number&where=Scope.Name=...