It's all about the answers!

Ask a question

How to get the modified list of dates of an ATTRIBUTE using Plain Java APIs?


Sudaraazhi Arivalagan (441328) | asked Dec 11 '14, 8:31 a.m.

Hi Anyone,

Using Plain Java APIs, I would need to create a Generic report having modified dates[states] of an attribute in workitem.

Example:

I have the fields to be filled for a query,

Type: TASK

Attribute [Custom/built-in]: Owned By

Attribute modified [after/before/on] :  after 10-NOV-2014

Do you have an idea of getting Modified dates or states of a specific field/attribute present in the workitem?

Thanks in Advance !!!

2 answers



permanent link
sam detweiler (12.5k6188201) | answered Dec 11 '14, 9:35 a.m.
I am not aware of a plain java api.. there is a Reportable REST api that can get the history from a project area
see the accepted answer here
https://jazz.net/forum/questions/149119/is-it-possible-to-access-work-item-history-via-plain-java-api-or-oslc

Comments
Sudaraazhi Arivalagan commented Dec 12 '14, 3:07 a.m.

Thanks Sam.


Sudaraazhi Arivalagan commented Dec 12 '14, 3:09 a.m.

Any others aware of it?

Can you please help on this need?


permanent link
Ralph Schoon (60.9k33643) | answered Dec 12 '14, 5:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The history is constructed. You could look into the SDK and search for it.
I have not tried this yet, however any IAuditable can have up to two predecessors which you can access using getPredecessorState() and getMergePredecessorState(). You could try to go that route.

Your answer


Register or to post your answer.