You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
Hi @harsh.bhardwaj ,
you can achieve this with Automation for Jira using Smart Values :
Have a look at the screenshot of my rule, I just tested it and it works fine :
Let me know if this helps,
--Alexis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{{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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
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: user@example.com and this relates to ticket ABC-123."
I want to pull out the "user@example.com" 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:
{{issue.description.match("([a-zA-Z0-9+._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9_-]+)")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.