Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Include a custom "user picker" field's data in a Slack message using Automation

I have a custom "user picker" field. I'm setting up an automation between JIRA and Slack that fires a custom message into a Slack channel when a ticket hits certain criteria. One piece of information I'd like to show in the Slack channel is the user selected on that field. 


I've added this to the Slack message that send: 

*Incident Commander:* {{issue.customfield_12066}}


but what appears is this: 

Incident Commander: 557058:41a2c14d-63c1-4cf6-94ba-7a22df13d6bb


How do I get the name to render?

2 answers

1 accepted

1 vote
Answer accepted

I actually solved this one on my own shortly after posting this. I added .displayName to the end of the query: 


*Incident Commander:* {{issue.customfield_12066.displayName}}
0 votes
Daniel Eads Atlassian Team Nov 12, 2020

Hi Stephanie,

Glad you were able to get the smart value working to show displayName in your Slack message!

If it's useful, we've recently put out a script that can sync Slack IDs with Jira properties - making it possible to at-mention Slack users in your Automation messages. If you're spinning up new channels for incidents, the at-mention might help get the right people in the channel faster. Or it could be useful to add more context in Slack itself if someone isn't familiar with the incident commander's name at a glance. At any rate, instructions and the script are available here.

Daniel | Atlassian Support

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

199 views 3 7
Read article

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