I was wondering if someone could kindly help me. I am trying to create an automation which loops through any JIRA issue that
has been updated, and looks for specific words, replacing them with hyperlinks.
For example,
I wish to lookup the word Lead and replace with a URL to the lead documentation
I wish to lookup the word Clients and replace with a URL to the client documentation
Ideally I wish for the automation to be simple on a single automation.
Hi @will
Writing automation rules is quite a bit about learning and experimentation. So...what have you tried thus far to solve this problem? If you post images of your rule, the audit log details, and what is not working that will provide the community more context to help.
For example, are you stuck trying to find/replace the text? And what fields do you want to change? And where are the replacement URLs coming from? And so forth...
If you have not started yet, please review this documentation and examples to help:
Kind regards,
Bill
Hi Bill,
I have tried multiple thinks, the one I thought would get me the closest was to do a string replace on the words by using smart values, unfortunatley it works for a single replace, however I couldn't get it to work for multiple.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The replacement functions work on one field at a time, not an entire issue. For example, to do this for just the Description field you could use the replace() or replaceAll() function, depending upon if you want to use a regular expression:
{{issue.description.replace("Lead", "yourLeadUrl")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill
Let me show you the issue I face when trying the above:
https://www.loom.com/share/bc9207cb96a54aa3927ea06f075faf8f
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi! Would you please post your images of your rule and the audit log details here in this community thread. That will provide context and ensure the images are preserved for future people looking at this question. Thanks!
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.