Getting OAuth problem when creating confluence page from Jira

Greeshma A R February 14, 2019

We are facing OAuth problem to create confluence page from Jira when an issue is created.We tried with reconfiguration Jira and confluence application link, restarted both Jira and confluence play instance, but didn't get any solution.

1 answer

0 votes
Moses Thomas
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 14, 2019

@Greeshma A RCould you  please  post "the Error " / problem  you  are exactly  facing ?

Greeshma A R February 15, 2019

java.lang.Exception: {"statusCode":500,"message":"org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only","reason":"Internal Server Error"}

       at Script116$1.handle(Script116.groovy:229)

       at Script116$1.handle(Script116.groovy)

       at com.atlassian.applinks.oauth.auth.OAuthApplinksReturningResponseHandler.handle(OAuthApplinksReturningResponseHandler.java:48)

       at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:134)

       at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:104)

       at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:131)

       at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.executeAndReturn(ApplicationLinkRequestAdaptor.java:53)

       at com.atlassian.applinks.oauth.auth.OAuthRequest.executeAndReturn(OAuthRequest.java:84)

       at com.atlassian.sal.api.net.Request$executeAndReturn$1.call(Unknown Source)

       at Script116.run(Script116.groovy:224)

Moses Thomas
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 15, 2019

@Greeshma A R  Could you  mention how you  are creating  confluence page from  JIRA ?  are  you  using  groovy  script  to  do  this ?

Greeshma A R February 19, 2019

yes I am using groovy script to do. Jira and confluence is linked via application link. I am using rest Client for creating page.

Suggest an answer

Log in or Sign up to answer