Public Name in automation rule?

Steven Kay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 26, 2024

Is it possible to use "Public Name" e.g. Joe Bloggs in an automation rule, i.e. issue.creator.publicName? We are currently using issue.creator.displayName, but this appears as Bloggs Joe, synchronised from Azure AD.

Many thanks,

Steve

1 answer

1 accepted

0 votes
Answer accepted
Patrick Tripodi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 28, 2024

Hi @Steven Kay

I do not believe there is such a smart value, however, you could do the following: 

{{issue.creator.displayName.split(" ").last}} {{issue.creator.displayName.split(" ").first}}

This will translate to: Joe Bloggs

So for an email, you can do: 

Hi {{issue.creator.displayName.split(" ").last}} {{issue.creator.displayName.split(" ").first}}, 

This is an email.

Which will be sent as: 

Hi Joe Bloggs, 

This is an email.

This will also ignore any instances of any extra values, like middle names from showing. 

Cheers,

Patrick Tripodi
GLiNTECH

Steven Kay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 28, 2024

Hi Patrick. That works perfectly! Thanks so much for your help.

Like Patrick Tripodi likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events