Help me please. I'm working on my first JIRA plugin using Atlassian Connect (my platform is django/python) and having a real hard time figuring out how to do a REST requests to JIRA on behalf of the current JIRA user. I want to use jira-python, but it required auth_token and auth_token_secret, but I don't have it.
Here's my authentication header (JIRA has sent it to me when an user click on the link of my addon every time):
[09/Jan/2014 20:47:52] "GET /app/?
?oauth_version=1.0
&user_id=admin
&oauth_signature_method=RSA-SHA1
&oauth_nonce=1389199973324143000
&oauth_consumer_key=jira%3E045e3efe-711a-4aca-9fbb-dc62fa62fb03
&oauth_timestamp=1389199973
&oauth_signature=XXXXXXX
&user_key=admin
&loc=ru-RU
&lic=none
&cp=%2Fjira
&tz=Europe%2FMoscow
&xdm_e=http%3A%2F%2Flocalhost%3A2990
&xdm_c=channel-servlet-general
&xdm_p=1
HTTP/1.1" 200 3540
How can I use these parameters to do REST requests from the current JIRA user?
Any suggestions?
I spent two days .. I have no success so far. Please describe the algorithm, what should I do to get access_token please.
Thanks