I am trying to use Powershell to connect Jira REST API and find a way to add few hundreds users to their groups.
First thing, i am trying to get accountId for users and i run a simple command:
GET /rest/api/3/groupuserpicker?query=user@domain.ext
in powershell this command failed with
Invoke-WebRequest : The remote server returned an error: (403) Forbidden.
but in the very same PS window this very same command works with CURL
What am i missing with PS? Does PS works with API token or do i need to do some other kind of authentication?
Thanks.