The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi Everyone,
I am working on a Event based postfunction, I have some field to calculate and place the result on the other field.
on the event based action I have 3 fields as under:-
Field Name Type
Contract ACV: Number field
Amount ACV Realized: Number field
Result of Realized %: Text field
post function is set to: set value of “Result of Realized %”
{{ (issue.fields["Amount $ ACV Realized"]*100)/issue.fields["Contract ACV"]}}%
adding inputs to the fields
contract ACV = 1500
amount ACV Realized = 152
Result of Realized % =10.333333333333%
Here as the result field is Text type field I want the “Result of Realized%” to be rounded up I have tired
{{issue.fields["Result of Realized%"].asNumber|round}}
this function didnt worked for me.
I appreciated your inputs.
Hi @Muhammad
did you try .round instead of |round as described in the following documentation:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity. Atlassian:...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.