Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to get thousands separator on custom number fields through smart values/HTML?

Patricia Paguio May 11, 2020

Hi,

I am currently using Jira automations to send out emails to our workflow and I am having trouble with some smart value formatting in the email's HTML.

  1. Does anyone know how to change the smart value number format so that it shows as 100,000 instead of 100000?
  2. In a multi-line text custom field with wiki renderer, I see that if someone includes an image in the field, it picks it up as an attachment and I'm able to link the user to that image through the attachment link. But is there a way to hide the text referring to that image in the smart value? Please see photos below to view how the image is currently showing in the email.2020-05-12_10-01-02.png
  3. Is there a way to decrease the size of the paragraph breaks for multi-line text using wiki renderer? At the moment, the paragraph breaks are huge and I'm wanting to find a way to customise their size or even switch them to line breaks2020-05-12_10-18-38.png

2 answers

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2020

Hi @Patricia Paguio 

For your question (1), it appears number formatting was recently added.  This works for commas:

{{issue.story points.format("###,###,###")}}

Best regards,

Bill

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 26, 2020

Hi @Patricia Paguio 

For your question (3) about reducing spacing, have you tried the smart value Replace() function to see if there are any extra embedded CR/LF that you can remove?  Please look here for information on the function: https://support.atlassian.com/jira-software-cloud/docs/smart-values-text-fields/

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer