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,460,656
Community Members
 
Community Events
176
Community Groups

Replacing value in customfield with a smart value from properites

Iga G I'm New Here Dec 13, 2022

Hello Team,

I want to exchange a value in the backend of a user customfield, which is based on an email address. I checked in the API and the smart value for the field is {{issue.customfield_10248.emailAddress}}

I want to exchange this emailAdress within this field customfield_10248 with an email address value from a different smart value from the project. This is the smart value for  the NEW email adress.
{{issue.properties."wayfair.waystation.supplier.metadata".supplierRelationshipManager.email}}

I tried to use a replace string, but it didn't work.

I assume i should change it with the Automation in Edit Issue using with the Advanced fields Option. This is what i added but it doesn't work. 

{
"fields": {
"customfield_10248.emailAddress":{{issue.properties."wayfair.waystation.supplier.metadata".supplierRelationshipManager.email}}
}
}

Would be very grateful for some tips!

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Darryl Lee Community Leader Dec 13, 2022

Hi @Iga G -

What's the name of your custom field? Is it the User Picker type?

You should be able to simply select it in the Edit action from the "Choose fields to set..." drop-down (in my example below the field name is "Executor"), and then enter your smart value for the issue property, like so: 

Screen Shot 2022-12-13 at 5.18.48 PM.png

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events