Scriptrunner Rest EndPoint : Issue Running

kumar sam November 16, 2017

Hello All

 

I have created ScriptRunner REST endpoint to create issues. It works perfectly in my local Jira instance. When I deploy in production Jira and call it using like this: from SOAPUI 

http://mycompany:8080/rest/scriptrunner/latest/custom/restCreateIssue?projectname=MPJ&issuetype=bug&reporterid=admin&summary=mysteingdescr&description=mydescription1

It shows me profile page as response, instead of creating issue.

I have authorization headers set as I have done it in my local, not sure how to debug it..?

Any idea?

 

Please let me know.

Thanks

Kumar

 

1 answer

0 votes
Alexey Matveev
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.
November 16, 2017

Hello,

Your user does not have permissions to create an issue in the production environment? Your user have a different password in production? You did not set rest call as POST in Soap UI? You entered wrong URL?

kumar sam November 16, 2017

Ok it really beats me...

It works now and I did not change a thing ..????

Suggest an answer

Log in or Sign up to answer