Skip to main content
4-Participant
January 18, 2016
Question

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

  • January 18, 2016
  • 1 reply
  • 1338 views

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.

    1 reply

    21-Topaz I
    January 18, 2016

    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>

    16-Pearl
    January 18, 2016

    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