How do you get approval date through the Java API?
I am trying to get the date when an approval goes from "Pending" to "Approved". Is this possible with the Java API?
According to this article:
https://jazz.net/library/article/1118
Approval records consists of following attributes:
Type
Subject
Due Date
State
Approver
So I don't know if there is a way to get this date.
Thanks in advance,
Francisco R.
Accepted answer
Looking thru the api and code it looks like the approval itself does not contain any info on when the state changed. but the info is in the containing workitem history. (which is a collection of workitem states, which is really a copy of the workitem fields that changed, I think)
I have not seen a way to get the workitem history with a plain java api.. but have seen it with the Reportable REST api.
https://jazz.net/forum/questions/149321/some-questions-about-reportable-rest-api
I have not seen a way to get the workitem history with a plain java api.. but have seen it with the Reportable REST api.
https://jazz.net/forum/questions/149321/some-questions-about-reportable-rest-api