Custom field with special character is not found in aggregateExpression function

Hello,

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 jamieechlin.atlassian.net/wiki/display/GRV/.

Hello Jamie,

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

I create a ticke.


Thanks.

 

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?

 

Thanks.

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

173 views 0 4
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