Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to get RTC workitems links using RPT api

 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.

0 votes



One answer

Permanent link

 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>

0 votes

Comments

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.

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937
× 7,495
× 1,325

Question asked: Feb 15, 7:45 a.m.

Question was seen: 693 times

Last updated: Feb 16, 3:31 a.m.

Confirmation Cancel Confirm