The response of /activities for event type relationships is not straightforward. I had to workaround it further on top of this repose to figure out the from item and to item of a relationship: 1. Either I have to parse and pattern match the value of 'details'(would have been better if there were no special characters) 2. Or assume that the pairs are ordered in the array(I meant the first two values in the "data" array has the relationship that was updated/created and next two elements has the relationship updated/created and so forth.
So I'd say to go with the second approach. Whenever you create, update, or delete a relationship: two new entries get populated as the latest IDs of the activities endpoint so they are ordered in pairs. You can test it out yourself with <your-jama-url>/api-docs.
Definitely file a feature request if you suggest us further to have an easier way to access this information with our API.
HEADQUARTERS|135 SW Taylor Suite 200, Portland, Oregon, 97204