Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Is there a way to automatically enter a variable into the Summary field of a submitted ticket?

Is there a way to automatically enter a variable into the Summary field of a submitted ticket? We use Jira Service Desk for our internal Help Desk support. Ideally, I'd like to setup an automatically rule that would automatically include the reporter's name or their email (minus the domain), into the beginning of the summary field. For example, Jan Smith, jsmith@company.com, submits a ticket. I'd like that ticket to have "Jan Smith: " or "JSmith: " to be placed automatically at the beginning of the summary field. Is this possible, and if so, how would I set that up? Any suggestions would be greatly appreciated. Thanks!

1 answer

1 accepted

2 votes
Answer accepted
Alexis Robert Community Leader Mar 26, 2021

Hi @Matt Seckman , 

 

yes this is possible with Automation for Jira : it's included in every Jira project in Project Settings -> Automation, and you can create rules to perform various actions.

For your example, you can use what's called Smart Values to edit a ticket after it's created and include the reporter name in the title. Here's how it would look like : 

 

Screenshot 2021-03-26 at 15.57.11.png

 

Let me know if this helps, 

 

--Alexis

@Alexis Robert thank you so much! I just tested it, and that does work. Is there a way to remove the domain portion of the email address, using smart values? When I tested, the summary shows up as "username@domain.com: test ticket." I love it to just read "username: test ticket," instead.

Alexis Robert Community Leader Mar 26, 2021

Hi @Matt Seckman , 

 

in this case you case use the following Smart Value : 

 

{{issue.reporter.displayName}}

@Alexis Robert , thanks again! That is close, but not exactly what we're looking for.

However, your recommendations helped push us in the correct direction, and my team came up with this smart value sting to put in the edit summary field, of the automated rule:

{{reporter.emailAddress.replace("@domain.com",":")}} {{issue.summary}

I tested, and this syntax works perfectly, for our organization! It uses the reporter email and replaces the domain (which is always the same, in my company) with a colon. Leaving a space between the two smart values, formats it correctly as, "username: test ticket."

This only works, if the email domain can be specified, which we can do, since all our customers are internal, and have the same email domain.

Thanks again for your help!

Suggest an answer

Log in or Sign up to answer
TAGS

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