We are using scriptrunner for jira cloud and I am wondering if there is a way to search for internal comments
Standard Jira JQL does not support searching for internal comments. Note that internal comments are identified by the sd.public.comment comment property where internal is set to true, or by the jsdPublic field being false on the comment object in the REST API.
With ScriptRunner you could add a listener to manage a label (or custom field).
From that point forward you can search for those issues using standard JQL. You can even backfill existing issues by running a one-time script via the Script Console.
No there is no such JQL option in scriptrunner enhanced search on Jira Cloud, This option is in the version for Data Center.
You could raise this at Adaptavist, to see of this is function they are working on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Jeffrey Bistrong
When you say search for comments, what output are you trying to get?
Searches typically return a list of issues that match the criteria. Are you trying to get a list of the issues that have internal comments?
Are you trying to get the content of all internal comments?
And what is your definition of an internal comment? Are you referring to the feature in Service projects where a comment can be public (Reply to customer) vs. private (Add internal note)?
What do you need to do with the results if you were able to get them?
While it appears that there was a feature in Scriptrunner for Jira DC that made this possible, that feature does not appear to be available in Enhanced Search for Jira Cloud, but I'm still searching to see if I missed something.
If you can provide answers to the questions I posed above, we might be able to recommend an alternative.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.