The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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...
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
Is the field type a user picker or a single/multi-line text field?
And is the project Next-Gen or Classic?
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the type of this custom field? Can you try using {{issue.Employee Name}} ?
Hope this helps,
- Manon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Manon,
Type is text.
I tried this convention as well and it didn't work.
Thanks,
Nofar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does the Answer above not assist in terms of smart values?
If not:
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephen,
I am facing with similar issue. i am simply sending an email with Invoice Number(name of the custom field) in body.
{{issue.fields.customfield_10068}}
{{issue.fields.Invoice Number}}
{{issue.[Invoice Number].defaultValues
}}
{{issue.[Invoice Number]}}
I have tried multiple syntaxes and it still comes out blank in the email.
The field is single line text and is being populated via a transition screen.
Sanjay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanjay,
Did you find a resolution for this? If not, can you give an example of the text in Invoice Number?
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephen,
I am facing a challenge on how to display custom field that has date and time. When i use this {{issue.Planned End Time}} it returns this 2022-04-19T16:30:00.0+0000. Is there a way to make this more recognizable.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.