Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Get pipeline by uuid is not working, could you please help? Edited


I am running a http request from a groovy script :

def spn = 'myusertoauthenticate'    
def content = 'APPLICATION_JSON'    
def url = "{workspace}/{repo_slug}/pipelines/{pipeline_uuid}

def response = httpRequest authentication: spn, contentType: content, timeout: 20, url: url, validResponseCodes: '200'   

I received a 400 bad request. 

The POST request is working fine and also when I call the GET function without the {pipeline_uuid} I received all the pipelines, but the issue is when I call with the {pipeline_uuid}, the pipeline uuid that I am using is the pipeline uuid that I received in the POST. 



1 answer

1 accepted

0 votes
Answer accepted


I Fixed using the url like this:

def url = "{workspace}/{repo_slug}/pipelines/%7Bpipeline_uuid%7D

My issue was related with the {} in the pipeline uuid, so I replaced using %7B and %7D


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

644 views 10 16
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