Automated - Change Summary title after email submission

Harry
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!
June 21, 2024

Hi, 

 

Looking to see if Automate can update a summary title after an email submission, as the email uses pipes "|" to show the priority and assigning in the summary.

Strip Assigning and assign it to the assigning field

Strip Priority and assign it to the priority field.

Strip Reporter and assign it to the report field.

 

 

Sample:

Test Summary | FOO User |Medium| John Smith Reporter

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 21, 2024

Hi @Harry,

Welcome to Atlassian Community!

If the summary will always have the same format the you can use the split String separator function to get each of the 4 subsections, something like this:

{{issue.summary.split("|").first}} -> Test Summary

{{issue.summary.split("|").second}}  -> FOO User

Harry
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!
June 21, 2024

Thanks @Mikael Sandberg

Let me try that, can I use the above items to assign the new fields "FOO" to an assigning?

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 21, 2024

In order to set the assignee you would first have to find the Atlassian Id for that user, which you can do by doing a web request to the Find user endpoint.

Suggest an answer

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

Atlassian Community Events