orgparse icon indicating copy to clipboard operation
orgparse copied to clipboard

How to access comments and properties in clocks (Loogbook entry)

Open robs-nice99 opened this issue 4 months ago • 0 comments

Hi,

I'm using orgparse to get a list of recent clock entries. However I don't see how to access the properties and comments inside the clock entries.

Here's an example:

* AHU-Tickets
** TODO [#C] a sample ticket with priority, in my AHU project           :AHU_39:
:PROPERTIES:
:assignee: Matthew Carter
:filename: this-years-work
:reporter: Matthew Carter
:type:     Story
:priority: Medium
:status:   To Do
:created:  2019-01-24T23:24:54.321-0500
:updated:  2021-07-19T18:40:30.722-0400
:ID:       AHU-39
:CUSTOM_ID: AHU-39
:type-id:  10100
:END:
:LOGBOOK:
CLOCK: [2022-02-24 Thu 20:30]--[2022-02-24 Thu 20:35] =>  0:05
  :id: 10359
  Sample time clock entry
:END:
*** description: [[https://example.atlassian.net/browse/AHU-39][AHU-39]]
  The summary is here
*** Comment: Matthew Carter
:PROPERTIES:
:ID:       10680
:created:  2019-01-24T23:25:19.455-0500
:updated:  2019-01-24T23:27:36.125-0500
:END:

From: org-jira.

We can see the clock entry: CLOCK: [2022-02-24 Thu 20:30]--[2022-02-24 Thu 20:35] => 0:05

And I would like to access the properties: :id: 10359 and the comments: Sample time clock entry

Is that possible?

robs-nice99 avatar Feb 19 '24 15:02 robs-nice99