How to get the creation date of a relation?
![]()
Hello there,
we're "piloting" RTC for project planning since over a year now within our company. We heavily use the REST reporting API with Python scripts for several use cases. We're using RTC 4.0.4.
Now we need the history of an items relations or at least the creation date of a specific relation for our scripts. I didn't find any clue how to get that info. Even in the web and the desktop client I can't find the information at what time a relation was created.
Can anybody please tell me how to get that info via the clients and the REST API?
Thanks!
Daniel
|
2 answers
![]()
great info, thanks for the additional clarity.. As you have noticed there is no historical info saved on the creation or deletion of links. this has been mentioned before and I think a request for enhancement was added.
net: what you want is not available today. |
![]()
Geoffrey Clemm (30.1k●3●30●35)
| answered Feb 05 '15, 12:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Tracking the addition/removal of links in the history of a work item was added in RTC-5.0.2.
See [CCM] Track link changes in work item history (314953) Comments Thanks Geoffrey! Thanks for the answer! The work item you've mentioned lists the acceptance test:
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I'll need to defer to our HTTP API experts on the question of whether this information is available through an HTTP API, or whether you would need to use the Java API.
|
Comments
Can you please describe a little more.. what is a relation? do you mean linked item?
Hi! For me, a relation is the object that "links" from one item to another. So, I don't mean a linked item "itself" but the relation between two linked items. Standard process templates have relation types like "parent", "depends on", "duplicate of" and so on. If I, for example, define an item A as child of item B, I create a new relation between A and B. This relation is typed (parent/child) and directed (A and B have different roles: child and parent). My problem now is, that I want to inspect the relations for a given item with their history. Getting the currently defined relations with the reporting REST API is no problem, but there is no historical information about the relation. It's also not possible to get information about already deleted relations. My primary demand is to get the creation date of an existing relation.