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

Format rendered of a file does not work with yml files

mgnavarrete May 10, 2023

Is there any reason why "?format=rendered" of "Get file or directory contents"endpoit does not work with "yml" or Jenkinsfiles for instances? When I get the file content of a "md" or "csv" file it works properly but if I do it with yml or Jenkinsfile I get a 500 error code and that breaks all pipelines I have

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 26, 2023

Hi @mgnavarrete,

I looked into this and the ?format=rendered query is supported only with files of these extensions:

I created a request to update the documentation for this API endpoint and include this info.

You should be able to get the raw contents of a file by omitting the ?format=rendered query.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events