Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to create Confluence page from JIRA

Khushbu Jowaheer April 9, 2018

Hello all,

 

I tried to add the script: Create RCA Confluence page that scriptrunner documentation has provided in a post function.

https://scriptrunner.adaptavist.com/5.3.5/jira/recipes/workflow/servicedesk/RCA-confluence-integration.html#_1_set_up_the_condition

 

But unfortunately I'm getting these errors.

 

2018-04-10 09:44:56,041 ERROR [workflow.ScriptWorkflowFunction]: *************************************************************************************
2018-04-10 09:44:56,043 ERROR [workflow.ScriptWorkflowFunction]: Script function failed on issue: SD-252, actionId: 91, file: <inline script>
java.lang.Exception: {"statusCode":403,"data":{"authorized":false,"valid":true,"errors":[],"successful":false},"message":"You're not allowed to view that space, or it does not exist."}
	at Script1150$1.handle(Script1150.groovy:138)
	at com.atlassian.applinks.oauth.auth.OAuthResponseHandler.handle(OAuthResponseHandler.java:44)
	at com.atlassian.plugins.rest.module.jersey.JerseyRequest$1.handle(JerseyRequest.java:115)
	at com.atlassian.plugins.rest.module.jersey.JerseyRequest$1.handle(JerseyRequest.java:113)
	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.plugins.rest.module.jersey.JerseyRequest.execute(JerseyRequest.java:113)
	at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:47)
	at com.atlassian.applinks.oauth.auth.OAuthRequest.execute(OAuthRequest.java:71)
	at com.atlassian.sal.api.net.Request$execute$1.call(Unknown Source)
	at Script1150.run(Script1150.groovy:134)

 

Is there something that I have missed?

 

Thanks,

Khushbu

 

1 answer

0 votes
Marcos Sanchez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 10, 2018

Hi,

As the error says:

{"statusCode":403,"data":{"authorized":false,"valid":true,"errors":[],"successful":false},"message":"You're not allowed to view that space, or it does not exist."}

It looks like the user that you are trying to use is not authorized to see the space that you want to use.

Maybe you should review the user and its permissions.


Regards,
Marcos 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events