issueFunction in aggregateExpression examples


I've looking for but I do not find examples about  "issueFunction in aggregateExpression" and documentation. 

Where can I find some info about it? 

Thanks a lot in advance for usual cooperation. 



1 answer

1 accepted

1 vote
Accepted answer

Hi Daniel,

I suppose the first source is the documentation - aggregateExpression

We assume that you are using Scriptrunner for JIRA server edition.

This is to let you know I have install 3.1.4 version. But having some problem with Issuefunction property.

I am getting below error on running :issueFunction in hasComments()" in the script console
groovy.lang.MissingPropertyException: No such property: issueFunction for class: Script1

I need to work on issuefunction and aggregateexpression

Please help me. It is mentioned in the documentation that 3 .1.4 supports aggregateexpression and issuefunction. Do I need to do anything else?

Have a re-read of the documentation and you'll see you are using it in completely the wrong place.  It's a JQL function.

Thanks for your prompt response Nic.

I also tried writing the JQL .Screen Shot 2018-01-03 at 11.23.22 AM.png

issueFunction in hasComments()

 Am I missing something else in the set up?

What does the log say when you try that JQL in the search?


Nic ,I am pretty new to troubleshooting logs. Is this where the logs are stored? under applicationlogs-> atlassian-jira.log?

I do not see any latest logs there however I have tried running the JQl recently




BTW I have Jira 7.6.1.Is this compatible with script runner 3.4.1?

No, you need to go to the server file system to read the logs.  The file does contain chunks of them, but I tend to find the plain logs with everything logged can be more useful.  Although I've spent the last <mumble> years with Jira, so I'm quite at home with getting everything and being able to skim them.

Have a look at the system information page, that tells you where the log physically is.  Or download the support zip, expand it and look for atlassian-jira.log

SR 3.4.1 does not exist.  I'm going to guess you mean 3.1.4, which does not work on any Jira higher than 6.4.14

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 7 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

96 views 0 0
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you