Issue Summary
When using the placeholder ${Issue Type} ( or ${issuetype} )in the Filter Issue Scope of an Assets customfield; if the field is being populated in the Create form, a validation error on the Assets field will block the creation of a ticket.
This does not happen when creating an issue within Jira, or when using other placeholders.
Steps to Reproduce
- Create an object type and a few objects with Name matches the Issue types used for requests in the portal (e.g. "Change", "Service Request","Hardware")
- Enable your schema to the JSM portal (see Schema Config>Roles)
- Configure an Assets CF with the following :
Filter Scope: objectType = "My OT"
Filter Issue Scope: Name IN (${Issue Type.name})
// the same when using ${issuetype.name} )
- Leave the Filter Assign scope empty
- Add this field to your request types screen
- Access the Customer's portal and set Summary, try to select an object in the Assets field - it should only allow selecting an object matching the Issue Type you are on
- Try to create the ticket in the portal
Expected Results
the ticket will be created, with the selected value in the Assets custom field
Actual Results
(5.17.n) - the ticket is showing a validation error in the portal: "Please provide a valid value for field 'Assets CF'"
Workaround
Only work around at the moment is to remove the placeholder ${Issue Type} from the Filter Issue scope.
For a single value to be selected - try using the Filter Assign Scope, or, a Postfunction to set the Assets field with the same AQL
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 |
Example: 5.17.3 |
(Yes) |
Most Recent Bug-Fix Release |
|
|
Previous Major Release |
5.16.0 |
(No) |
Most Recent LTS |
|
|
Previous Supported LTS |
|
|
Other Versions.. |
5.12.12 |
(No) |
|
5.14.0 |
(No) |