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
I need to get the result of divide two custom fields I created in Jira. I'm using automation with smart values. This is the syntax:
{{issue.customfield_10136}} / {{issue.customfield_10135}}
With this sintaxe I get this error message in the log:
Do you have default values if the custom fields aren't set? e.g. issue.customfield_10136 should be 0 if not set and issue.customfield_10135 should be 1 if not set.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A bit unrelated math function, but I found this video helpful: https://www.youtube.com/watch?v=Pi7_CInMTQc&ab_channel=ApetechTechTutorials
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, @Alex Ortiz is good with his videos from Apetech Tutorials.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share what the type of customfields are the ones you are using for the calculations including the one with the formula?
Thanks,
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.
Ok, never seen this error message, but can you confirm that the customfield does not have a context that blocks it from the TES project? Also make sure that the field is added to the screens of the issue type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The field appears in the screen.
If I set manual values in the automation it works. For example 4 / 2. In this case, it work fine!
But when I use the sentence {{issue.customfield_10136}} / {{issue.customfield_10135}}, it doesn't work.
:(
I've try this way {{issue.customfield_10136.divide(issue.customfield_10135)}},
this way {{issue.customfield_10136.divide(issue.customfield_10135).floor}}, but it doesn't work...
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.