It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

URL with the query param does not working as expected in scriptrunner endpoint.

Hi Guys,

I am communicating with the Agile Central through scriprunner endpoind. I am trying to fetch the list of releases with the project. So I have added query param in url like query = "project=XYZ".

Complete url will be : https://jira.asd.com/rest/scriptrunner/latest/custom/getReleases/slm/webservice/v2.0/release?query=(project=XYZ).

It return me a complete list of releases on agile central not the project specified.

 

Please tell me where I am wrong.

 

1 comment

How do you handle the query in your REST endpoint script ?

Hi Marc,

I am not handling query in endpoint side. 

Where do you handle it then ?

Hi Marc,

i am new in the script runner. Can you tell me? How to handle the query in endpoint script.

I think you best start from the scriptrunner doc. There is an example on handling parameters.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Posted in Agile

Overview of Advanced Roadmaps UI + Get started with Automation for Jira - Demo Den September 2020

Deliver better and faster value to your customers with the Jira automation platform. Watch this Demo Den series below to learn how to use the new interface and set up automation rules to help your te...

1,299 views 3 6
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you