Scriptrunner Rest EndPoint : Issue Running

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

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?

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,647 views 18 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you