Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

yaml-language-server cannot parse bitbucket-pipelines schema

mateusz_adamiec
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 27, 2026

Hi,

While developing an Jira app, I added yaml-language-server to ensure my `bitbucket-pipelines.yml` is correct. Unfortunately, when opening the file in the editor I get this error:

$ref '/components/schemas/pipelines_configuration' in 'https://bitbucket.org/product/features/pipelines' cannot be resolved.


I'm using the default yaml-langage-server configuration , which pulls the schema for `bitbucket-pipelines.yml` from https://api.bitbucket.org/schemas/pipelines-configuration, which appears to be the correct URL. 

EDIT: after some investigation, it appears that JSON schema draft 7 doesn't support definig a "$ref" at the root. "pipelines_configuration" should be directly embedded in the root, not refrenced with a "$ref" property. This makes the schema resolve

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events