JIRA Forge External.fetch wildcard/dynamic entry

Hi all,

I am developing a JIRA Forge Application and the application is required to make API calls to external sources and also receive data from those servers

In the manifest, I have added something like this:

However the value test1, test2 and test3 will keep changing based on end user’s basis. Is there any way through which I can accommodate my above use case where a certain part of domain will be a wild card entry.

I would prefer having something like this
external:
fetch:
backend:
- “dummy..io/

Thanks

Hi @SurajTiwari,

You can use wildcard characters anywhere in the domain, so you can simply add:

permissions:
  external:
    fetch:
      backend:
        - 'dummy.*.io'

Also note that the “allow list” maintained by Forge only applies to domains, so it’s not necessary to provide the path.

Please be aware though that this means your app will be able to make connections to any domain with a .io TLD that exposes a dummy. subdomain.

cheers,
Tim