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,455,656
Community Members
 
Community Events
175
Community Groups

JSM Automation Actions

I am trying to pull the value of a user picker field into a email automation action. I have tried the following with a blank line return in the email:

  • {{issue. Employee Name}}
  • {{issue.Employee Name.defultValue}}
  • {{Talent Support.Employee Name}}

The name of the user picker custom field is Employee Name

In addition, I am unable to set a hyperlink in the automation generated email. It is for an external website not native to our cloud instance. 

Any help with this issue would be greatly appreciated. 

 

Example of the Automation: 

Automation Action.PNG

Example of the Email:

Email Results.PNG

1 answer

0 votes
Trudy Claspill Community Leader Dec 15, 2022

To get the display name to use in the email try this:

{{issue.Employee Name.displayName}}

Alternately try using the custom field ID.

{{issue.fields.customfield_#####.displayName}}

Try adding Log actions to your rule to print the value into the rule Audit Log to find out what value the rule is getting from your reference.

I have tried both of the suggested lines above with the same result.

{{issue.Employee Name.displayName}}

{{issue.fields.customfield_Employee Name.displayName}}

{{issue.fields.Employee Name_#####.displayName}}

 

how do i use log actions. can you provide me an example. 

 

could it be that the automation is running to quickly. maybe if I dose the when on a change to a field instead of on create. it will give the custom field time to pop the answer in the email. 

 

What are your thoughts?

Trudy Claspill Community Leader Dec 16, 2022

If you want to reference the custom field by ID you have to use the explicit text customfield_ followed by the ID number of the field.

If this is a custom field for a Company Managed project you can get the ID number from the Custom Fields screen. Click the ... button next to the field, hover over the Edit option, and you can see the ID number in the URL that displays at the bottom of the browser window.

Screen Shot 2022-12-16 at 8.36.03 AM.png

 

Can you show us your entire rule, please?

Suggest an answer

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

Atlassian Community Events