Hi there
I am trying to build a feature on our site where an (non-JIRA) user can submit a bug (but also view the list of submitted bugs) through a form which then sends a call to the JIRA API using the main JIRA admin account as sender.
I need to do this using PHP. I tried Fay Pickering's library but got a 400 code, so I tried with the REST call
curl -D- -u fred:fred -X POST --data {"fields":{"project":{"key":"OEWR"},"summary":"testing","description":"decription","issuetype":{"name":"Bug"},"reporter":"morena"}} -H "Content-Type: application/json" https://myaccount.atlassian.net/rest/api/latest/issue/
The REST should work, are you sure you can login into JIRA using "fred:fred" ?
You shouldn't need OAuth for this. The public key would be the public key of your PHP OAuth side (it will hold on the privete key and JIRA will need the public key to be able to decode the encripted data).
Thank you for the advice. Somehow my password change requesthad not worked. I reset my password and could use the user/password combination without any problems, thank you so much
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.