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,553,963
Community Members
 
Community Events
184
Community Groups

IFTTT on create , create jira ticket if statement for a customfield

Last question for the day looking for the syntax for an if statement in IFTTT on create send email . 

 

I have a custom Field in confluence I want to write the if statement if the optional field is there then populate it and if its null do not try to populate it.  Below are the attempts 

 

#if(!${Epic.isEmpty()}) #set(customfield_10006:[entry.Epic])#end,

similar code works in description as seen below but that is free fomr text 

"description": "  *System* [entry.system.Label] \n\n #if(${clarityId}) *clarity Id* [entry.clarityId] #end \n\n *Base Description* [entry.desc.escapeJSON]\n\n *Requirements* [entry.req.escapeJSON] \n\n #if(${WhyCrit}) *Critical reason* [entry.WhyCrit] #end \n\n #if(${roi}) *Benefit* [entry.roi.escapeJSON] #end \n\n #if(${TargetTimeline}) *Target Timeline* [entry.TargetTimeline] #end \n\n #if(!${Impacts.isEmpty()}) *System Impacted:* [entry.Impacts] #end ",

2 answers

@Alex Medved _ConfiForms_  I totally missed that sorry  

0 votes
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 01, 2023

What type of field (in ConfiForms) is the "Epic" field?

@ale jira issue  server jira 

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 01, 2023 • edited

So, it is NOT a multi-value field?

Then just check it as a non multi value field


#if(${Epic}) "customfield_10006":"[entry.Epic]", #end

Alex

@Alex Medved _ConfiForms_  that is correct single select field only but it is optional 

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 03, 2023

Do you see my answer?  This way you can check if the field is non-empty

#if(${Epic}) "customfield_10006":"[entry.Epic]", #end

Alex 

Like Butch_Richards likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events