Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Math expressions resulting in two digits

ray
September 22, 2023

Is it possible with math expressions to have a result of always 2 digits?

f.e. 
{{#=}}1+2{{/}} = 03 instead of just 3
{{#=}}1+10{{/}} = 11

I was trying to do a check with IF(condition,value_if_true,value_if_false) to place a "0" in front of the result when it's <10 but that didn't work out...

 

2 answers

1 vote
eric anier
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 Champions.
June 3, 2015

Hi Leos,

also noticed that limitation of DBCF, my workaround was used DBCF as dummy select list on create issue screen but transfer the value to a Jira_textfield once the issue is created. This way JIRA search would autocomplete when you search on the Jira_textfield

 

Regards

 

Leos Junek
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 Champions.
June 4, 2015

Hello Eric, your solution sounds interesting. Does it mean you fill one custom field with DBCF and then fill another custom field with value of the first one without admistrator intervention? What feature helps you to achieve that?

eric anier
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 Champions.
June 7, 2015

Hi Leos, I'm also using JJUPIN a plugin from kepler maker of DBCF. A very powerful plugin makes complex workflow simple to implement. Regards,

0 votes
Błażej O_
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 Champions.
April 28, 2015

Try to change the field searcher. Go to the custom fields list, hover over your field, click the cog icon, choose edit and on the next sreen choose a different searcher than "Exact text" searcher.

I think you might have to re-index your instance for the change to take effect.

Leos Junek
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 Champions.
April 28, 2015

Hello Blazej, it did not help. Both using with Database Free Text Searcher and Database Exact Text Searcher I have to type exact value of custom field. Nobody does not need select list with all values with this plugin? Everybody must type exact value of custom field without no help (available values)? I am really surprised.

Suggest an answer

Log in or Sign up to answer