Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

IF Statement help within formula in Structure

Hi Community I need some help with an IF statement,

I have created a new structure and would like to create a new formula with an IF statement in another column. This is the situation:

-I have created a column with a formula that makes a basic calculation from variables in the structure that displays a number within the column (0 or above)

-With this new column with the IF formula, I would like for it to take the number from the column described above, and I need it to display a certain word based on the range of that number calculated.

EXAMPLE: A number from 1-35 would result in "Low" appearing, 36-95 "Medium", 96-128 "High" and 129-160 "Critical"

 

Can anyone please help me out with this? Thank you!

1 answer

Hi Ryanzawada

If I understood your use-case correctly, I think the following formula will help to address the scenario:

If(
storypoints < 35 and storypoints > 1; "Low";
storypoints < 95 and storypoints > 36; "Medium";
storypoints < 128 and storypoints > 96; "High";
storypoints < 160 and storypoints > 126; "Critical";
"empty")

Note that here I'm using Story Points as the variable, but you can replace it with the variable that makes sense to your use-case.

It is also important to say that any number that is not in the range of the defined values will have "empty" assigned to it.

Let me know if that helps.

(Thank you for using Structure).

Mario O.G

[ALM Works]

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

249 views 2 5
Read article

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