Issue Summary
When using a placeholder of type ${pid.id} in the issue scope filter for an Assets custom field, the subsequent object search only works correctly when creating a Jira issue. When editing, no matches are found.
Steps to Reproduce
- Create a project of any type
- Choose any object type and add an attribute of type Project called "Id"
- Create an object of the above type
- Make sure the Project attribute is set to the project created earlier
- Create a custom field of type Assets Objects and add to the relevant screens
- Edit the custom field Assets configuration
- Select the schema
- Add the following filter scope: objectType = <objectTypeID_of_the_object_type_from_earlier>
- Add the following filter issue scope AQL: "Id" = ${pid.id}
- Create a new issue
- Observe that the filter works correctly
- Edit the issue
- Observe that no matches are found
Expected Results
The behavior is consistent across different actions.
Actual Results
The filter only works in the Create screen.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available.
- links to
Form Name |
---|
Workaround Suggestion:
"Project Reference" = currentProject()
"Id" = ${pid.id} OR "Project Reference" = currentProject()
I hope this helps.