I'm trying to utilise jira automation rules to validate if a web url or confluence content url is present. This is in an attempt to check that documentation is linked to an issue. This is a team managed project so I can't target validation in the workflow but can react to the workflow by using an automation rule. I can't seem to be able to target remoteissuelink via the changelog (smart value) nor via JQL (can't). Is there any other way to validate this other than having links in the description field? It kind of defeats the purpose of leveraging the way Jira links things on a ticket....
You can do this by using a Web Request in your automation rule.
This one will do nicely. Remember to add Authorization before finalizing the rule.
The API will return all remote links to the issue (not issues in the same instance that are linked to it). So it returns web links or confluence links.
Knowing that, you can just check if there is anything in the body of the response.
If you want to know whether a weblink or a confluence page is linked, you can check the type of the application in the body of the response
The rule could look something like this:
Hope this helps!
Please let us know if it worked or you need more help!
- Tessa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.