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

Why isn't an workitem listed in REST after being deleted?

 Hello,

I'm trying to understand what happened to deleted workitems. We were using a REST query to identity which workitems where excluded from JAZZ ALM, so that these workitems would be deleted from our relational database. But it seems that the removed workitems are no longer being listed with the query below:

https://server:port/ccm/rpt/repository/workitem?fields=generic/deletedWorkItem/(*)

Can someone help in understanding this behavior? Is it a normal behavior, or should at least the itemId of the workitem be listed with this REST query?

Thanks in advance,
Igor Felix

0 votes


Accepted answer

Permanent link
That query does return a list of deleted itemIds for me (in RTC 5.0).  I also get the same results with:
https://server:port/ccm/rpt/repository/workitem?fields=workitem/deletedWorkItem/(*)

What results are you getting?  What version of RTC are you using?
Igor Felix selected this answer as the correct answer

0 votes

Comments

  I am using RTC version 5.0.2. Some workitems indeed are listed with this query, but I've created another and then deleted it, but its itemId was not on the whole list returned.

I am using RTC version 5.0.2. Some workitems indeed are listed with this query, but I've created another and then deleted it, but its itemId was not on the whole list returned.

Does the returned list contain exactly 100 itemIds?  In the response from the server is there a "next" URL referenced (search on "next")?

 Already checked, the nextPage is empty. I've tried the same with a filter, like this:



And nothing was returned. This is the itemId of the workitem I've deleted.

 Okay, please forgive me, I've realized it is a mistake. There are some pages that return no values, and when I go forward, the itemID is listed. Thanks for the quick answer.

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

Question asked: Jul 02 '15, 9:04 a.m.

Question was seen: 1,869 times

Last updated: Jul 02 '15, 11:55 a.m.

Confirmation Cancel Confirm