Hi team,
I've been a reader on this fantastic forum on a lot of my automations, but now I need help which I couldn't find by googling away.
I have a case where I'm storing apiTokens as project keys (entity properties) for every repo we are responsible for. We don't have Bitbucket premium, so no project keys I'm afraid, so that's why we need keys for every repo.
On a workflow, I want to get the apiKey for the repository associated with the issue (yet again, an entity property on issue level).
I'm on the last step of my workflow, and I want to get the Repo Api Token for a certain {{repository}} based on the {{webResponse.body}} of my call to get Project Entities. Are you with me still?
So basically I'm creating a new variable where the path to access it is
{{webResponse.body.value.{{repository}}}}Apparently JIRA Automation is not happy with this and mostly evaluates the whole thing to
}}
I could, of course, store the repo api key as an issue entity property, but I wanted to keep it central.
Help?