Hi,
In the description of an issue I am adding a value for a field that has been selected from Assets.
I am using this to get the price
{{issue.customfield_10118.Price}}
I can display that as a number in the description, but I want it as a currency.
I have tried
{{issue.customfield_10118.Price.asNumber.asCurrency}}
{{issue.customfield_10118.Price.asCurrency}}
and they both just don't end up displaying the field.
Is there a way to show the value from assets as a currency value in JSM?
Hello @Ste404 ,
There's nothing to stop you creating a custom field with a currency in its name. But Jira will handle it like any other number field.
This is how I did it. I'm not a Jira expert but it worked for me!
Go to Jira Settings, then Issues, then Fields or Custom Fields
Scroll down to the field you want to change
Click on the three dots on the right of the title
Click on Configure
The Configure Custom Field screen will be displayed.
Click on Edit Default Value and the Set Custom Field Defaults screen will be displayed.
Add the £ (or whatever default you want) and click on Set Default
Hope that helps you!
I know how to create custom fields, just don't need them in this instance. I am dynamically building a table with 30 different calculated subtotals, so in that case I would need 30 extra custom fields.
I'll go without the $.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.