An error occurred: Response status code does not indicate success: 401 (Unauthorized) when creating Jira Sub-task with powershell
I have this script that should create Sub-task when certain quota level will be breached.
I have tried 2 methods of auth: token, pass+username.
In both cases (if I use any of those method) I got 401. My user had full admin rights to the project.
Other time, I can see no error at all, but sub-task i not created.
Can someone tell what is wrong?