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

0 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

348 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