Integrity Command Line Timeentries
Using the Integrity CLI to extract time entries for analysis and processing.
I use something like this;
im timeentries --hostname=host --port=port --filter=user:username --filter=entrydata:"between START and END"
(note don't type this in by hand, I have wrapper code written in Python.
I also use mksapiviewer.exe to process the command output as XML and parse it. This all works nicely).
The above example extracts the time entries for a user user between the dates START and END. I now have a user case where I would like to extract all time entries recorded against a given Issue ID in a specific time range, regardless of which user entered them.
Looking at the help
im timeentries --usage
I see there is a sub-option in the filter section
issue=<expression>
However, I am not sure what 'expression' means.
I have tried the obvious approach..
im timeentries --hostname=host --port=port --filter=issue:ISSUEID --filter:entrydate:"between START and END"
but I get the following error in my XML:
<Message>MKS124814: Cannot show view information: You must specify an operator for numeric</Message>
It is not obvious to me what the above error is referring to, and what exactly "specify an operator for numeric" means.
Any help would be appreciated.
thanks,
will

