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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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,467,798
Community Members
 
Community Events
177
Community Groups

Automation for extracting a URL-link from the description field and populating it to a custom field

I'm trying to create an automation rule which would copy a URL link from the description field and paste it into a custom field (custom field type: URL field).

Use case: Some of our clients do not use the JSM portal (where we have a dedicated field for inputting 'Instance URL') but prefer to send their requests via email. They typically add a URL-link to the email message which I'd like to extract from the request's description field and then paste it into a custom field (called: Instance URL). Below is an example of a message (read: JSM issue) from which I've been trying to extract the data from:

Description

[Incident description]

 

Instance URL: https://[rest of the URL]

 

BR,

[name here]

 

--



I've tried using smart-values to do this but haven't succeeded. The automation rule which I've created (and which isn't working):

1. When an Issue is created

2. Check if Instance URL field is EMPTY

3. Edit issue fields (Instance URL) -> {{issue.description.substringBetween("*URL: ","")}}

 

For some reason the automation log says the automation works without any issues but the Instance URL -custom field remains empty. I've also tried running the automation rule manually.

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events