Reputation: 19
I added a Jira (4.2) gadget onto Liferay (6.1 b4) page. Set up the consumer and public keys in Jira Adminstrator's area for Liferay. Specified the same ones in OpenSocial portlet. I've tried on localhost only but anytime I get the following error:
{"oauthError":"UNKNOWN_PROBLEM","body":"","oauthErrorText":"Unable to retrieve consumer key\n\n==== Original request:\nGET /rest/gadget/1.0/currentUser?cacheBuster=1323789929397\n\nHost: 127.0.0.1:9080\nX-Shindig-AuthType: oauth\nX-Forwarded-For: 127.0.0.1\nX-shindig-dos: on\n\n\n====","DataHash":"qgeopmcf02p09qc016cepu22fo","rc":403}
Has anyone ever succeded in Liferay + Jira integration with OAuth?
Upvotes: 1
Views: 1995
Reputation: 1591
There was a small bug in Liferay's OpenSocial portlet that prevented JIRA gadgets from working. I've submitted a pull request for the fix here: link, ticket. You can apply the patch if you want to get it working immediately.
Also, make sure you've taken all these steps to get JIRA gadgets working on Liferay. (Note: I've only tested with JIRA 4.4, but hopefully it's similar enough to 4.2).
On Liferay:
On JIRA:
You should now be able to add JIRA gadgets to Liferay.
Upvotes: 4