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

assignee.displayName doesn't display Unassigned when the issues isn't assigned

Hi,

 

When writing a slack or email message from Jira Automation I am trying to display the assigned user or an issue in the email/slack message using {{assignee.displayName}} but if the issue is unassigned is doesn't display anything. Is there a way to get it to display "Unassigned" like it would in Jira?

Thanks

Neil

2 answers

1 accepted

1 vote
Answer accepted

Hello @Neil Jones 

Please try using: 

{{assignee.displayName | Unassigned}}

If displayName is unset, "Unassigned" will serve as fallback value.

Hope this helps.

 

Cheers
Sherry(A4j)

I wish we have more docs about smart values :(

This worked perfectly, thanks

Hi @Neil Jones 

What I would do is to perform a condition in the rule (a branch).

If assignee is empty send X message

If assignee is not empty send y message. 

 

Its normal not showing anything, as you are resquesting a value, and in Unassigned issue the information is not really present. 

I hope this helps

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,837 views 10 23
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