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

Learn how Arizona State University is bringing agility to higher education

Hello Atlassian Community members! My name is Keri, and I work on Atlassian's Cloud Platform Product Marketing team. I wanted to bring your attention to a case study we recently did with the IT dep...

152 views 0 5
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