-
Type:
Bug
-
Resolution: Won't Do
-
Priority:
Low
-
None
-
Affects Version/s: 5.12.13
-
Component/s: Assets - Jira Field & JQL
-
2
-
Severity 3 - Minor
-
11
Issue Summary
When an AQL is entered for an Asset Object custom field's Filter Issue Scope or Filter Assign Scope , a change that is made that would cause the field's value to be no longer in scope does not reset the value of the field, even if that change happened at the time an issue was edited, within the issue that was being edited
Steps to Reproduce
- Create a Sample IT dataset object schema - IT
- Create two hosts, create two CPU's, then link a CPU to each host object
- Create an Assets object custom field - Assets Parent
- Object Schema: IT
- Filter Scope: objectType = Host
- Create an Assets referenced object custom field - Assets Reference
- Parent Custom Field: Assets Parent
- Reference direction: Outbound references
- Reference Type: CPU
- Create an Assets object custom field - Assets Sub
- Object Schema: IT
- Filter Scope (AQL): objectType = CPU
- Filter Issue Scope (AQL) and Filter Assign Scope (AQL): object having inboundReferences(CPUs IN (${Assets Reference${0}}))
- On a Jira Issue, edit:
- The Assets Parent to be Host1
- The Assets Reference to be CPU1
- The Assets Sub to CPU1
- Save, and notice that the values are populated as per expectation. Edit the issue again and set:
- The Assets Parent to Host1
Expected Results
- The Assets Reference field has it's value reset
- The Assets Sub field has it's value reset
Actual Results
- The Assets Reference field has it's value reset
- The Assets Sub field does not have it's value reset
Even after saving the changes, the Assets Sub field is allowed to have the old (no longer valid to the AQL) value set.
Workaround
If only a single value is required (not require user selection from N choices), then you can force populate the field by choosing Make Filter Assign Strict checkbox
Versions Tested
Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below:
| Testing Requirements | Version | Affected Version |
|---|---|---|
| Customers Reported Version | 5.12.13 | Yes |
| Most Recent Bug-Fix Release | ||
| Previous Major Release | ||
| Most Recent LTS | ||
| Previous Supported LTS | 5.12.13 | Yes |
| Other Versions.. |
- links to