Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL issueFunction - Function 'commented' does not exist ??

Owen Evans October 19, 2018

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.

3 answers

1 vote
Kristian Walker _Adaptavist_
Community Champion
March 4, 2019

.

0 votes
Kristian Walker _Adaptavist_
Community Champion
March 4, 2019

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

0 votes
Joshua Yamdogo @ Adaptavist
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2018

Answered through our support portal

Oleksandr Pryshlyak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2019

Same behaviour. Could you please share an answer here?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events