Hi,
we have an Assets objectType with an attribute of type Project called "Projekt".
When trying to limit the results in a customField we want to use Filter issue scope (AQL): Projekt = currentProject() as it works in Jira DC. But in cloud the results are empty.
What can we do to limit the assets depending on the actual project?
BR Christof
According to support:
[...]
In Cloud while that function does not work we can access pid - the Project Id or Name through a placeholder.
https://support.atlassian.com/jira-service-management-cloud/docs/configure-the-assets-object-field
${pid.id} for the id of the project ${pid.label} for the Name of the project
-----
That works but only with pid.label and LIKE operator.
Filter issue scope (AQL): "Projekt" LIKE ${pid.label}
Update: Atlassian changed a bit and now the ${project} value has to be used:
Filter issue scope (AQL): "Projekt" IN ${project}
or
Filter issue scope (AQL): "Projekt" = ${project}
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.