Skip to main content
4-Participant
Jan 18, 2016 7:43 AM UTC
Question

How to add date fileter in "im timeentries.. command

Hi,

I want to create the command which will give the time entries between two given dates or Time entries of given date.

I tried executing command as bellow but it doesn't work. getting an error as "Invalid option: entryDate"

>im timeentries --entryUser=<Username> --entryDate="21 Aug, 2014"

...........................................

im: MKS124819: Invalid option: "entryDate"

Usage: im timeentries options...; options are:

        --entryUser=user  A user used to select time entries

        --fields=field1[:width1],field2[:width2]... where fieldn can be any of:

createdBy,createdDate,duration,entryDate,issue,modifiedBy,modifiedDate,notes,sou

rceDisplayName,sourceName,user  The fields to display.....

Please help me with this.

    2 replies

    21-Topaz I
    Jan 18, 2016 4:07 PM UTC

    Hi Adhik,

    If you run 'im timeentries --usage' you can see all available options for the command. In that list of options is --filter which can be used for entrydate.

    im timeentries --filter=entrydate:<date>

    Translate
    16-Pearl
    Jan 18, 2016 4:41 PM UTC

    Hello Adhik Kadam,

    I agree with Joe.  If you are having difficulty with his suggestion, please let us know.  If it solves your problem, please click on the Correct Answer button at the bottom of his response.

    Thanks,
    Kael

    Translate