Hi everyone ![]()
I’ve just released a small open-source utility for the Forge ecosystem called atlassian-forge-axios.
While building Forge apps, I noticed that working directly with @forge/api often leads to repeated boilerplate:
-
manual
fetch -
res.json()everywhere -
inconsistent error handling
-
less readable code in larger apps
So I built atlassian-forge-axios to provide an Axios-like developer experience, while still respecting Forge’s security model.
What it does
-
Axios-style methods:
get,post,put,patch,delete -
Works with:
-
Jira REST APIs
-
Confluence REST APIs
-
External APIs (
api.fetch)
-
-
Automatic JSON parsing
-
Axios-style error handling
-
TypeScript-first
-
Zero runtime dependencies
Important Forge note
Due to Forge security requirements, route must still be used at the call site for Jira and Confluence APIs.
This is a Forge limitation, not something a library can bypass — the README explains this clearly with examples.
Install
npm install atlassian-forge-axios
Links
- npm: https://www.npmjs.com/package/atlassian-forge-axios
- Github : GitHub - nagaraj6618/atlassian-forge-axios
I’d really appreciate feedback from the community ![]()
Suggestions, issues, and PRs are welcome!.
Thanks!