Hello,
I am new to Jira and it is not my core competency. I am just trying to create BASH script, This script will read a text file with jira issues, complete the non jira task and update the jira issue.
I am using the curl to update the jira. like below
curl -D- -k -u $WINDOWS_USERNAME:'$WINDOWS_PASSWORD' -X PUT --data '{\"name\":\"$WINDOWS_USERNAME\"}' -H \"Content-Type:application/json\" https://jira.XXXXXXcom/rest/api/2/issue/$TASKNO/assignee"
This works from command prompt. But when run through the script. I get some time password issues and CAPTCHA issues and need Jira admin help to clear the account.
is there a better way like OAUTH or cookies and how to use then in bash script?
help is appreciated?