It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

difference between two number fields

HI, 

I have a number field named "previous time spent", and i want to calculate the difference between this field and the timeSpent field. Using automation. 

I tried to write : 

{{issue.timeSpent}}-{{issue.customField_10076}} 

where issue.customField_10076 : is the field that i've created 

but it's not working : it writes me only the timeSpent ! 

 

please i need help ! thanks 

1 answer

1 accepted

0 votes
Answer accepted

did you check the output of value in your custom field?

i've fixed the problem. 

The cause was that i had to use the math expression {{#=}}....{{/}}for the smart values

exemple : 

{{#=}}{{issue.Invoice Amount}} * 1.2{{/}}

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you