Are we able to use IF statements in custom formula for custom fields?
It looks like this functionality is available in Jira but it's not clear to me if the same functionality is in Jira Product Discovery.
Whenever I try to write an if statement, I get an "invalid expression" error or "could not parse expression".
Some additional context on what I am trying to accomplish:
I want the value of {Custom Field 2} to be derived based on the ranges of values from {Custom Field 1}
If {Custom Field 1} <=6 , then {Custom Field 2} = 1
If {Custom Field 1} >6 and <=12 , then {Custom Field 2} = 2
If {Custom Field 1} >12 and <=18 , then {Custom Field 2} = 3
Hi @Ryan_Milway -- Welcome to the Atlassian Community!
Custom formulas do not support conditional logic yet.
As a workaround, you could use an automation rule to set the field. Please look here to learn more: https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/
Kind regards,
Bill
Hi there - we don't have conditions in custom formulas today. Noting down the feature suggestions!
Best,
Amina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.