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

This widget could not be displayed.

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/.

This widget could not be displayed.

Hello Jamie,

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

I create a ticke.


Thanks.

 

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

511 views 3 18
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