Forums

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

Create a bitbucket project with scriptrunner

Thierry BUYLE October 24, 2018

hi, when i create a Jira project, i create a space confluence with scriptrunner. It  works good. But now i want to create a Bitbucket project in the same time. But it's wrong. I have the message below in log : 

The following log information was produced by this execution. Use statements like:log.info("...") to record logging information.

2018-10-24 10:46:56,976 ERROR [runner.AbstractScriptListener]: *************************************************************************************
2018-10-24 10:46:56,976 ERROR [runner.AbstractScriptListener]: Script function failed on event: com.atlassian.jira.event.ProjectCreatedEvent, file: <inline script>
com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource.
	at com.atlassian.applinks.oauth.auth.ThreeLeggedOAuthRequestFactoryImpl.retrieveConsumerToken(ThreeLeggedOAuthRequestFactoryImpl.java:93)
	at com.atlassian.applinks.oauth.auth.ThreeLeggedOAuthRequestFactoryImpl.createRequest(ThreeLeggedOAuthRequestFactoryImpl.java:86)
	at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(ApplicationLinkRequestFactoryFactoryImpl.java:180)
	at com.atlassian.applinks.api.ApplicationLinkRequestFactory$createRequest.call(Unknown Source)
	at Script49.run(Script49.groovy:110)

Can u help me please ?

Best regards

Bernard 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events