Forge Remote Multiple Environments

Hello,

I would like to use the forge remote app but at this time there seems there isn´t a way of having different endpoints depending on each environment I deploy my app. E.g. If I deploy my forge app to a developement environment I would like to use my development remote and so on.

The only way I can now do this is by having environment variables as mentioned here to replace the urls:
https://developer.atlassian.com/platform/forge/manifest-reference/environment/

Is there a better way of doing this?

Also would be cool if I could change the endpoint at runtime.

Thanks

1 Like

Hey @jonymilk,

Environments variables are the best mechanism to achieve this today, however remotes are statically declared in the manifest at deployment, which you’ve noted. We’re tracking the ability for users to dynamically declare a remote URL under [FRGE-1227] - Jira - I’d recommend voting on this ticket and leaving a comment if it’s applicable to your use case.

3 Likes