Skip to main content
1-Visitor
January 31, 2013
Solved

CLI for Workflows & Docs, item history

  • January 31, 2013
  • 1 reply
  • 3943 views

Hi all,

Just started to work with the CLI for Integrity 2009 and I can't figure out how to get just the history for an item. im viewissue --showHistory 75941 includes the history with a bunch of other info, any way to get just the history info for the item?

My end goal is to get the history for every ID in a document which I would do by looping over the IDs in the document, is there a more elegant way to do this?

Thanks,

Eric

    Best answer by jgorsline

    I see what you mean. It gives all the info on the item before showing the historical changes, etc. There is no history field, as the command simply shows what is displayed on the HIstory tab of the Integrity item.

    We do have an RFC in the system to allow for more control over what history can be displayed. If you contact support or open a case online we would be more than happy to attach to you this RFC (RFC# 106531) and keep you up to date on any developments towards this.

    1 reply

    1-Visitor
    February 4, 2013

    What is the "other info" you are referring to?

    Eric11-VisitorAuthor
    1-Visitor
    February 4, 2013

    Hi,

    If you send "im viewissue --showHistory 75946" you get a bunch of info on the issue with the history tacked onto the bottom. I can easily parse the info for the history but was wondering if there was a more direct way, e.g. "im issues --fields=History --queryDefinition=(field["ID"]=75941)" but there is no field name History, it appears you can only get the last Modified By and Modified Date.

    Thanks,
    Eric

    jgorsline1-VisitorAnswer
    1-Visitor
    February 4, 2013

    I see what you mean. It gives all the info on the item before showing the historical changes, etc. There is no history field, as the command simply shows what is displayed on the HIstory tab of the Integrity item.

    We do have an RFC in the system to allow for more control over what history can be displayed. If you contact support or open a case online we would be more than happy to attach to you this RFC (RFC# 106531) and keep you up to date on any developments towards this.