Skip to main content

I’m trying to get a list of comments inside a workitem but it doesn’t seem to be working. 

 

Is this API endpoint no working anymore? 

All I see is the ability to get a comment by comment ID. I’ve never seen anything about being able to get a list of comments in a work item, but I haven’t had the opportunity to play with that at all.


How did you find the comment ID @Max? 


What object(s) are the comments attached to? 
Work Items themselves don’t have comments.


It looks like you can get the comment from any entity:

The only other place ‘CommentKey’ is mentioned is here:

As far as I know, there’s no way to search for notes. You get the ‘NoteID’ back when you create a note or receive a webhook from a note, so the only way I see this working is:

  1. Create a note (returns note ID) // A note gets created/updated and sends a webhook with NoteID
  2. Get note details by ID
    1. Comments and associated keys are included
    2. Get comment by key (not sure the benefit of this over what’s displayed in the ‘Comments’ list returned in the Note API call.)

I don’t see any other ways to get access to Notes and Comments, but maybe someone else has more information on use cases.


@max That’s exactly why I was asking. The presumption is you can get the CommentKey. 
(Aside: the NoteID won’t link to a note in-app as the ui uses the ConversationID that the note is wrapped in)
I think we need the tasks endpoints first for this use case. (but those aren’t built as of yet)


Yeh the issue is I called the workitems and all those entities in Postman already and my developer and I are not seeing where the commentkeys are. 

I went into karbon and tried inputting various parameters from the URL when I “copy the link” to a comment or something and it doesn’t work either. 

So not sure where this CommentKey even exists or can be found haha. 

Your saying you’ll only see the commentkey if it comes in via a webhook? 

Keen to hop on a zoom sometime if your interested on trying it out together? Max, Paul 

The use case here is I want to be able to store the comments of our own jobs in a database so I can run it through my own prompts. 

The current AI is just a summary and quite limited. 

 


@max That’s exactly why I was asking. The presumption is you can get the CommentKey. 
(Aside: the NoteID won’t link to a note in-app as the ui uses the ConversationID that the note is wrapped in)
I think we need the tasks endpoints first for this use case. (but those aren’t built as of yet)

A task endpoint would absolutely be super awesome


Yeh the issue is I called the workitems and all those entities in Postman already and my developer and I are not seeing where the commentkeys are. 

I went into karbon and tried inputting various parameters from the URL when I “copy the link” to a comment or something and it doesn’t work either. 

So not sure where this CommentKey even exists or can be found haha. 

Your saying you’ll only see the commentkey if it comes in via a webhook? 

Keen to hop on a zoom sometime if your interested on trying it out together? Max, Paul 

The use case here is I want to be able to store the comments of our own jobs in a database so I can run it through my own prompts. 

The current AI is just a summary and quite limited. 

 

Sent you a DM. 😊


Reply