Create
cancel
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

Custom Fields in Smart Values Edited

Hey, 

 

I have a rule that triggered on a specific issuetype creation and then sends a Slack message to a channel. For some reason I cant get the value of the custom fields name I want to send. I tried to following conventions:

{{issue.Employee Name.name}}

{{issue."Employee Name".name}}

{{issue.[Employee Name].name}}

and some more... 

2 answers

1 accepted

0 votes
Answer accepted

Hi @Nofar Ben Kereth 

Are you trying to send the user's name to the channel?

If so, this should work:

{{issue.Employee Name.displayName}}

^ See this page for more information on using user smart values.

Ste

Hi @Nofar Ben Kereth 

Is the field type a user picker or a single/multi-line text field?

And is the project Next-Gen or Classic?

Ste

Single line text, classic project. 

Hi @Nofar Ben Kereth 

This should work:

{{issue.Employee Name}}

^ I know you mentioned this hasn't worked above. I tested this in our instance and it worked, using a Send Email action (as our Jira isn't linked to Slack - but it should work the same way).

I would check:

  • "Employee Name" should be the actual name of your field - is it?
  • Is the field populated at creation? I.E populated prior to the "Create" button being pressed? Not via an Automation Rule or Post Function?

If both are yes, what data is being received in Slack when you use the above smart value?

You could also provide the full rule as a screenshot so we can try to replicate the exact scenario :)

Ste

Hey,

 

It worked for the field value. 

 

Thanks

0 votes

Hi @Nofar Ben Kereth,

What is the type of this custom field? Can you try using {{issue.Employee Name}} ?

Hope this helps,

- Manon

Hey Manon,

 

Type is text. 

I tried this convention as well and it didn't work. 

 

Thanks,

Nofar

@Nofar Ben Kereth did you figure this out?  dealing with the same issue right now.   There is no value property and I've tried everything I can think of to display the value from this field. 

Hi @David Loszewski 

Does the Answer above not assist in terms of smart values?

If not:

  • What type of field is it?
  • What value are you trying to show?
  • Is it a Team-managed or Company-managed project?

Ste

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

775 views 2 21
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