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

Find all workitems not modified using java plain api

Hi All,

I am looking for a quick code sample which can list out all workitems which have not been modified for a certain number of days.

I am quite new to the api, any help to get this up and running quickly would be really helpful.

Regards,
Naweed

0 votes



2 answers

Permanent link
the simplest approach is to start with a normal query that can show the results u need.

what do you want to do with the list?  given the query results, you can export it to excel, ...  maybe u don't have to write a program at all..

if you do, then I have a sample that will dump out fields from the workitems returned in a query  see the accepted answer here for the code
https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes

if that all works, then later you can create a query dynamically to get the same list

1 vote

Comments

My sample code is built on Ralph's first blog topic, and brings it all together.

1 vote


Permanent link

Thanks Sam and Ralph,

I'll have a look at the code and try to implement based on my scenario. I will be manipulating the workitems further once I have the result in  the program.

0 votes

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

Question asked: Jul 17 '14, 12:31 p.m.

Question was seen: 3,450 times

Last updated: Jul 18 '14, 6:24 a.m.

Confirmation Cancel Confirm