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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,179
Community Members
 
Community Events
184
Community Groups

Find empty label field in Structure Formula

Edited

Hi -

I am trying to add a formula column in Structure to show if a label field is empty.

 

Currently, I am using this formula, but the case for nothing being selected isn't working. I have tried undefined, "", and "None".

CASE (profile;
undefined; "Profile: Not specified";
"TBD"; "Profile: TBD"
)

profile is a custom label field.

If I set value to TBD, I get the expected response. If the field is empty, I get no response.

Thanks.

1 answer

1 accepted

1 vote
Answer accepted
David Niro _Tempo_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 08, 2023

Hi @Jeff Thielman ,

I don't believe that undefined is a value CASE() can check against.  You can use a default value with CASE().  So, for example:

CASE (profile;
"TBD"; "Profile: TBD";
"Profile: Not specified"
)

This will make the return value "Profile:  Not specified" if none of the other conditions are met.  I will point out that this will be true if there is some label used that is not part of your list of conditions.  

If this does not work, you may try using an IF() Conditional statement in addition to CASE().  Something like:

IF profile = undefined:
"Profile: Not specified"
ELSE:
CASE (profile;
"TBD"; "Profile: TBD"
)

Please let me know if this helps!

Best,
David

Thanks @David Niro _Tempo_ 

This makes sense. I went with the 2nd option, as I have dozens of other label options. It works perfectly. 

 

Thanks for the advice.
Jeff

Like # people like this
David Niro _Tempo_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 08, 2023

You are very welcome!

Like Dave Rosenlund _Tempo_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events