Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Copy certain text from summary into a custom field


I need help in copying a certain text from summary of an issue to a custom field in JIRA Cloud.

For Eg: 

Summary : "Report of Oct 2020 :: Company ABC"

I wanted to store "Company ABC" in a certain custom field.

I am using : "Email this issue" plugin and Automation plugin. 

1 answer

1 accepted

1 vote
Answer accepted
Alexis Robert
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 15, 2021

Hi @harsh.bhardwaj , 


you can achieve this with Automation for Jira using Smart Values :

  • Create a new rule
  • Select "Issue Created" as a trigger
  • Set a new action to "Edit Issue"
  • Select the field you need to copy your text to, and use this value : {{issue.summary.replaceAll(".*::","")}}

Have a look at the screenshot of my rule, I just tested it and it works fine :

Screenshot 2021-01-15 at 12.17.07.png


Let me know if this helps, 



Thanks you so much @Alexis Robert . It is working for me, cheers.

Hi, @Alexis Robert

I hope you're well! This is incredibly helpful! Is there a way for me to select a segment of the summary to parse into a custom field, as opposed to including the entire summary?

Looking to for something like this:

Account Lockout: UserID: aedana, UPN

I need to extract the trailing text after UPN, to be parsed into customfield User Principal Name.

 Your advice is immensely appreciated!

Dan A.

Like # people like this

{{issue.summary.replaceAll(".*UPN ","")}}

The solution is showing you how to include all characters after the string. The star at the front means it doesn't matter what's in front, it just cares about what's after the start (for you, UPN)


What would the format be if I wanted to pull out a string that's inside other text?

Say I had the following text:

"The user's email is: and this relates to ticket ABC-123."

I want to pull out the "" and feed that string into a dedicated "email" field on the ticket.

So far I have: {{issue.description.replaceAll(".*is: ","")}}


UPDATE: This has been figured out. We were able to successfully use the following to pull an email address out of the "description" field of a ticket to populate a dedicated "email" field:

Idiyana Binti Ahmad Salim
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!
Mar 06, 2023


How can i copy all text from trigger issue's summary then add few words at the front/back of the summary in a custom field?

example like this:

summary = Hello world

additional text = Test

value in custom field = Test Hello world or Hello world Test

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events