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!
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 :
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Matt Seckman ,
in this case you case use the following Smart Value :
{{issue.reporter.displayName}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just want to add that, if someone is using the Twillio's Whatsapp Connector for Jira, the reporter is "generic" but you can extract some info in this way:
{{issue.description.left(issue.description.indexOf(" \n ")).remove("*Reporter*: ").replace("(whatsapp:"," (")}}
Basically it takes the description, return the left most part up to the "new line", remove the reporter text at the front and for some cosmetics it remove the "whatsapp:" redundant text and add a space between the name and the number.
I don't test this other option, but may work too:
{{issue.description.substringBetween("*Reporter*: "," \n ").replace("(whatsapp:"," (")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a way to add this information retroactively? For instance, I have a series of issues and now the new Product Owner wants to go back to those issues and assign them a number and all issues numbered consecutively from the first ticket to the most current. Anyone have a solution to this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.