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.
I'd like to ensure that, when a user adds a link to a jira ticket in a comment, that link is automatically added to the Linked Issues section.
Can I do this via an automation or a prompt reminding the person to add it in the linked issues section?
I really look forward to have this functionality :) Would be great help!
Thank you @Carlos Garcia Navarro this looks great!
If I understand, your automation would take the entire comment body and turn that into the link. If there are more words in the comment, I'd need to edit the regex to find the link only? And if there are multiple links on one comment I wouldn't be able to use this method?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The regex in the default rule takes care of filtering the other text out. If there are other links, it should detect and add them all to the 'linked issues' section 9I just tried and it worked as expected)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Carlos Garcia Navarro thanks - I was all set to go, but I'm not getting the option under link issues to extract from the comment body. I have trigger issue or recently created issue only. How did you achieve it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm... You should be able to copy this in the box:
{{comment.body}} contains regex [A-Z]+-\d+
Doesn't it work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've had to type it in there manually and press enter but it seems to have accepted. But not what you pasted, I put {{comment.body.match("([A-Z}+-\d+)")}}
That saved and published, but the rule won't trigger. Says it doesn't match the condition. Mine seems to be the same as yours?!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Deborah Cross ,
If you go to Project Settings-> Automation, you can set up this rule, as you can see in this screenshot. If you click on the box and enable the automation rule, the links wilol be created automatically:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just tried and worked fine for me:
Screenshot that shows the automated rule to link the issue (I added an extra step to add a comment to confirm that the link was created):
And screenshot showing the link and the comments:
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.