I'm trying to run a search for issues which were commented upon during the notification outage yesterday afternoon, and running into quite a bit of trouble.
If I understand correctly, I should be able to use something along the lines of 'issueFunction in commented([datetime parameters])', however whenever I attempt to use that query in ScriptRunner Enhanced Search, I get the error "Function 'commented' does not exist".
What am I missing here? Is there something I need to enable or install additionally to access this function?
I'll also need to be able to filter not just by date but by specific time range on a specific date. If that's not possible, I'll just figure out some other more manual approach to this.
Hi Owen,
Thank you for your question.
I can confirm that the query referenced above is incorrect and references a format that is for ScriptRunner for Jira Server as ScriptRunner for Jira Cloud uses JQL aliases to implement functions similar to the ones provided in Jira Server.
I can also confirm that ScriptRunner does include some JQL Aliases and functions which can be used to search for comments on issues and you can find further details on these functions in the JQL Aliases documentation page located here.
You will want to look to use the commentedOn JQL Alias which is documented
here to search for issues that had comments added on a certain date, and the documentation page for this query will show an example of the syntax for this query.
Please note that as this is a JQL alias you do not need to add in the issueFunction in clause as this only works with the enhanced search functions.
If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Answered through our support portal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same behaviour. Could you please share an answer here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.