The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automated - Change Summary title after email submission

Harry
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Mikael Sandberg
Community Champion
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
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 Champion
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.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events