I am trying to create an automation rule using smartValues and want to extract the ticket number from summary and immediately link the ticket number.
I am having difficulty is extracting the ticket number from summary using smartvalues and the ticket number can be anywhere in the summary.
Example -
PROJ-1234 is a ticket with following summary
PROJ-3456 Test Jira Link
I want the rule to extract the ticket number PROJ-3456 from summary and link PROJ-3456 to PROJ-1234
Ticket numberon the summary can be anywhere ( start/end or in between the text).
Would you please post an image of your complete rule, including details of what you have tried thus far to solve this? That context will help the community offer ideas. Thanks!
Until we see that...Your scenario might be possible, and it depends on a few things:
If #1 is likely then your rule may not be possible. Let's assume if there is a key, you want to link to it.
Item #2 is the challenging one if you link to other projects. For example, how do you stop people from using a hyphen/text in the summary which coincidentally matches to another issue? And, when other projects are involved, your rule will need global scope, and that could run into the service level limits (if your are on a Free or Standard Jira license level).
If it is for one project you can use a match() function with a regular expression to get the key and link more easily.
For item #3, you just need to decide what you want to happen. As with item #2, it is possible to parse out multiple keys, and link to each one.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.