Hi, I am trying to find a way to access the name of the project my repo belongs to in pipelines. I am aware that I have access to the project's key via the BITBUCKET_PROJECT_KEY variable as documented here: https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/ . However, I want the name rather than the key, is there any way to do this apart from using the REST API to look it up using the key? Thanks!
Hmm, maybe you can set it as a repo variable? Bit awkward but if it's just a few repos, it should be easily done.
Yea, I can definitely do that but was hoping there might be a way to get it automatically I hadn't thought of, thanks for the reply!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.