Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I'd like the first name of the issue reporter in the canned responses

Faris Ishag
Contributor
July 11, 2023

in canned responses when I choose the issue reporter it bring up the full name of the user,

I only want the first name to appear. Is there is a cut function or something to edit the variable? 

 

2 answers

2 accepted

4 votes
Answer accepted
Joseph Chung Yin
Community Champion
July 11, 2023

@Faris Ishag -

In addition to what @Fernando Eugênio da Silva suggested, you may be able to use automation rule with local variable creation and store the user's display name (via smart value) + substringBefore(String separator) (to get the first name of the user by using the separator of space, it is typically the display name is stored in the system as first name <space> last name etc..).  Once you populate the local variable that you defined, then you can use it in the send email action within the automation rule.

Here is the links on smart values usages -

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/

Give that a try, hope this helps while waiting for Atlassian Support's response to your support request.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Faris Ishag
Contributor
July 11, 2023

Brilliant! I didn't know you can do that.

Thank you a lot Joseph.

Like # people like this
Gustav Manthorpe February 21, 2024

Hi Joseph

I do not understand your answer.

What would it look like if i wanted to only store the first name? For now the only thing possible is {{creator.displayName}} if you ask me.

Best Gustav

3 votes
Answer accepted
Fernando Eugênio da Silva
Community Champion
July 11, 2023

@Faris Ishag 

Canned Responses it's still a new feature. For now, is not possible add other jira variables or getting only the reporter first name for the variable presented while you creating a canned response.

 

You can open a ticket for Atlassian Support and maybe your ticket turns a suggestion to be considered on Atlassian Roadmap as a new feature.

Faris Ishag
Contributor
July 11, 2023

Thanks Fernando, I will send them a ticket.

Like # people like this

Suggest an answer

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

Atlassian Community Events