Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get User full name for multi user cf in HTML email body using JMWE workflow postfunction.

Hi,

I have JMWE workflow post function  to sent email notification upon issue created. In that post function HTML body I want to display all attendees to meeting through single and multi user piker with there full names.  I'm using following code for single user picker and I'm wondering for multi user picker. Could you please help me with the expression to get  the result.

Single user picker: <p> MH Lead( Multi user picker field name): ${issue.get("Custom field Name").displayName}

Multi User picker: ?

Regards,

Kiran

2 answers

0 votes

Hi @kk4065896 ,

are you sure you're on Jira Cloud? The code you shared only works for Jira Server/DC...

Hi David,

Thank you for responding, Yes I'm using Jira cloud.

 

Regards,

Kumar

0 votes

On Jira Cloud, for a single-user picker field, the correct expression is:

{{issue.fields.customfield_12345.displayName}}

And for a multi-user picker field:

{{issue.fields.customfield_12345 | join(", ", "displayName")}}

Hi David,

Thank you for quick response. Unfortunately this code is not working for me.  I'm getting the following error.

There was an error during the execution of your script against issue RRA-19

Regards,

Kumar

Can you post a screenshot of your attempt with both the code and the full response (error)?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you