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

Need to use the Contam Operator in a text field JMWE

Hello,
I need to use a condition where it reads:

If the field {{issue.field.customfield_xxxx contains "Information"}} then it performs the pos function.

My doubt is here:
{{issue.field.customfield_xxxx contains "Infromation"}} how to use Contam?

 

Basically:

{{ issue.fields.customfield_11332 == "TEXT" }}
{{ issue.fields.customfield_11332 contains "TEXT" }}

 

1 answer

1 accepted

0 votes
Answer accepted
David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 16, 2023

Hi @Henrique Degan 

This is the syntax:

{{ issue.fields.customfield_11332.includes("TEXT") }}

 but note that this is case-sensitive. You can also do this for case-insensitive:

{{ issue.fields.customfield_11332.toLowerCase().includes("text") }}

(Notice that the test string is all lowercase)

Hello @David Fischer _Appfire_ 

Thank you very much for your support, it worked here!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events