Custom field with special character is not found in aggregateExpression function


I want to use the "aggregateExpression" function of Script Runner in a custom field that contains the character "/": issueFunction in aggregateExpression ("Total", "House/Mansion.sum ()")

"House/Mansion" is a number custom field.

The result is the error "Field House not found or not a Number or Date custom field."

How I can use the function with this character in a custom field?

Tested in JIRA v6.3.9, Script Runner 3.0.10



4 answers

I don't see how that's going to work currently... customfield_12345 should work I think. Feel free to create a ticket at

Hello Jamie,

The function using customfield_12345 work fine. Thanks for you response.

I create a ticke.



The function using customfield_12345 work fine, but, this isn´t the solution because users use this function and do not know the identifier, only know the name of the field

Any news about use special characters?

Is this is the behavior of the plugin? Is it a bug?

Using the custom field name (not its identifier), is it possible to escape characters?



It's probably not going to be fixed soon. Escaping characters would be just as confusing to users. At best I would have the function remove special characters, so users could enter HouseMansion, rather than House/Mansion.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


254 views 0 6
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