The idea is:
Atlassian now provides scoped API tokens to support least-privilege access. However, n8n currently only supports legacy API keys, which may carry all of a user’s permissions.
This is because the API endpoints for scoped tokens differ from those used for the legacy keys.
We need to implement Atlassian’s new endpoints and add support for scoped API tokens in n8n.
My use case:
Use new scoped API token to improve security on n8n
I think it would be beneficial to add this because:
We can control the scope to be passed to n8n. This will helps us to handle the activity from n8n by Atlassian accounts.
Any resources to support this?
The Atlassian’s guide mentions
You need to call the Atlassian API to use API tokens with scopes for Jira {{https://api.atlassian.com/ex/jira/{cloudId}}
or Confluence {{https://api.atlassian.com/ex/confluence/{cloudId}}.
How to construct a request to call the API
We need to support these API path for scoped API token.