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

Can I have an upper bound date for RRC resources using REST API?

 I would like to use REST API to get only resources that have been modified between a specific date period. For example, I'd like to get only the resources modified in the year 2012. The query I'm using is this:

https://server:port/rm/publish/resources?modifiedSince=2012-01-01T00:00:00.000-0300&ownLinks=true&size=10

The problem is that too many resources are returned, and I'd like to get these resources on small periods. Is there any parameter that can be used with modifiedSince in order to get the resources modified in the year of 2012 (like modifiedUntil)? Is it possible to do so?

Thanks in advance,
Igor Felix

1

0 votes


Accepted answer

Permanent link
I am not aware of a "modifiedUntil" parameter, but you may consider creating a view with an attribute filter "Modified on is between" and then use the "filter by view" URL format. It is not as flexible as you would hope since you can't combine with certain parameters and you can't change the filter during runtime. At least it should return the collection of artifacts that you are expecting.
Igor Felix selected this answer as the correct answer

0 votes

Comments

 Can you provide me further information on how to create this view so I can search the resources using it? I'm quite new to Jazz ALM and don't now where to find it.

 Is it true that a view works only for one project area? If so, this won't be a solution, since there are more than a thousand areas with information in here. It will be a viable solution only if I can share this view between all project areas.

In this case, my suggestion does not work for you. More research is needed. You may consider opening an RFE to request the "modifiedUntil" parameter.
https://www.ibm.com/developerworks/rfe/

Thank you very much Donald. I'll request a parameter like it, and until then I'll think of alternatives to extract the information.

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,940

Question asked: May 18 '15, 2:57 p.m.

Question was seen: 2,989 times

Last updated: May 20 '15, 12:24 p.m.

Confirmation Cancel Confirm