You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
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
I have figured it out i will share with you thanks for suggestion
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would you be so kind to share your solution and/or consider to accept the answer in order to mark this issue as resolved and make it easier for other users to find the solution?
Best
Stefan
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.