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

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
Published in Agile

“No BS” technology solutions with Forty8Fifity

Hey there Community! My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn a little bit more about our Solution Partners and...

787 views 1 11
Read article

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