stable

Clone or download

Read-only

fix: Skip empty string parent id

Part of story #23469: export reports with linked artifact in xlsx format How to test: - set feature_flag_use_art_links_v2_in_artifact_modal to 0 - set feature_flag_use_list_pickers_in_trackers_and_modals to 1 - In planning view, for example in a Sprint, create a new User Story. Do not select any parent. Leave the list-picker to the empty "Please choose a parent" option. - When you submit the modal, the new User Story should be created correctly. It should not have a parent, and it should not fail with Bad Request. - set feature_flag_use_list_pickers_in_trackers_and_modals to 0 - Repeat the previous two steps. The new User story should be created correctly too. Introduced by 76fc18bc8b1ad6b50bbddb71b50ab6e8368417d1 Change-Id: I5165f37999bf267683b6129a2f1e0ace3567d185

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field/link-field-value-formatter.js +3 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field/link-field-value-formatter.test.js +27 −0 Go to diff View file