Work with Issue Links

With HAPI you can quickly and easily link issues. Link two issues as follows:

An error occured

There is a problem with the file path provided or a failure to connect with Bitbucket. Check the File Path provided, Application Link for Bitbucket Data Center or the permissions of the app password for Bitbucket Cloud. Contact your system administrator.

Image showing how you create links with HAPI

Removing a link is just as easy. Remove a link as follows:

An error occured

There is a problem with the file path provided or a failure to connect with Bitbucket. Check the File Path provided, Application Link for Bitbucket Data Center or the permissions of the app password for Bitbucket Cloud. Contact your system administrator.

You may wish to validate that an issue has particular links in a workflow validator. Typically, you cannot access links added during the current transition or issue update until it's complete. However, we have made it easy using the extension methods getAllInwardLinks() and getAllOutwardLinks() on MutableIssue.

For example, you want to use a workflow validator to check that there is at least one outward "Blocker" link:

An error occured

There is a problem with the file path provided or a failure to connect with Bitbucket. Check the File Path provided, Application Link for Bitbucket Data Center or the permissions of the app password for Bitbucket Cloud. Contact your system administrator.



Related content

On this page