I would like to create a gadget for Jira that lists some issues (result of a JQL query). I created a sample gadget based on this tutorial: https://developer.atlassian.com/display/JIRADEV/Standalone+Gadget+Tutorial+-+Writing+a+JQL+Gadget.
My gadget: http://pastebin.com/be4uz31E
When I run it, I always get the same error message from oauth: consumer_key_unknown. How could I have the authentication process done in the gadget?
Community moderators have prevented the ability to post new answers.
Take a look at this example instead:
https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Writing+Gadgets+for+JIRA
What you need for oauth to work should be just trhee lines:
<Require feature="oauthpopup"/> <Optional feature="auth-refresh" /> #oauth
The tutorial you linked is for gadgets in plugins. My gadget has to be a standalone one - I cannot use #-directives in it. Adding the mentioned features does't solve the problem.
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.