It's all about the answers!

Ask a question

How to get RTC workitems links using RPT api


Pallavi Deore (38143) | asked Feb 15, 7:45 a.m.

 Hello,


I am using below api to get rtc workitems links:
In some of the links I am getting the uri and for some links uri is missing.
Eg:
----------------------
<auditableLinks>
<sourceRef>
<helperId>XXXXXXXXXXX</helperId>
<uri/>
<referenceType/>
<comment>23: TEST/comment>
<extraInfo/>
<contentType/>
<referencedItem/>
<uniqueId/>
</sourceRef>
<targetRef>
<comment>TEST:XXXXX</comment>
</targetRef>
</auditableLinks>
--------------------------------------
Please suggest what I am missing.

One answer



permanent link
Ralph Schoon (63.2k33646) | answered Feb 15, 9:57 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Feb 15, 9:59 a.m.

 The request is incorrect and missing two brackets. AFAIK the query would look like: 

https://elmratelimha11.fyre.ibm.com:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[id=10]/(parent/()|children/()|auditableLinks/(sourceRef/(uri|referencedItem/())|targetRef/(uri|referencedItem/())))

</pre>
<div>
    There are * in the brackets().
    <br>
    <br>
    &nbsp; I assume not everything has a URI or the query is still incorrect.
</div>

Comments
Pallavi Deore commented Feb 16, 3:25 a.m.

I tried with above query but same problem.

I would like to know how to get workitems links uri.
I am getting comments but uri is missing.
Please suggest.


Ralph Schoon commented Feb 16, 3:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I get some URI's using



 I do not get URI's for everything. I have spent the time I can on this answer. Maybe someone else can come up with more. I can't.  

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.