I am trying to file Tickets with a Google Docs Script using OAuth authentification. But I am stuck in the configuration.
I did configure an application link with an incoming authentication. I did set the Consumer Name, the Consumer Key and the Public Key.
Now I am trying to access JIRA from my Google Docs Script using the URLFetchApp class. I can register an oauth configuration. I did set all the URLs:
AccessTokenUrl: http://myhost/plugins/servlet/oauth/access-token
requestTokenUrl: http://myhost/plugins/servlet/oauth/request-token
authorizationUrl: http://myhost/plugins/servlet/oauth/authorize
But what do I have to set as Consumer Key and especially Consumer Secret? I used the Value of Consumer Key as Consumer Key. Sounds good. But I don't know what to use as Consumer Secret. Neither the Public Key, the matching Private Key nor the Consumer Name worked. The bad thing: I cannot get a proper Error Message from the Google Docs Script.