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
4,298,493
Community Members
 
Community Events
165
Community Groups

Copy certain text from summary into a custom field

Hi,

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 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, 

 

--Alexis

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 dan.anas@techmd.solutions

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 Adrian Arm likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,862 views 37 49
Read article

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