-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Timeline - Work Item Create
-
None
-
1
-
Minor
Issue Summary
This bug causes inline issue create to fail on the Timeline page.
It can occur in Company Managed Projects when a dropdown custom field is configured and used in multiple contexts (board, screen, project, etc. Specifically, when
- The custom field is a required field and used in the Board Filter
- The option names are not globally unique wherever that custom field is used
This can be verified by using the Configure Custom Field page and confirming if an option is used in multiple contexts.
Once on that page:
- Search for the required custom field
- Click the contexts tab
- Click the "Create, edit or delete contexts" link
- Search for the option name
An example board query that could trigger this bug is `project = xxx and "<custom field name>[Dropdown]" in (<option name>) order by Rank asc`, though only when the option name is used in multiple different contexts.
Steps to Reproduce
- Create a dropdown custom field (single select) and associate with your project
- Create an option under that custom field
- Configure the custom field to add multiple contexts and create an option of the same name for each context (you need to leave the default option as "none")
- Make the custom field a required field and make the required `description` field optional
- Create a board which has a filter on the custom field `project = xxx and "<custom field name>[Dropdown]" in (<option name>) order by Rank asc`
- Create a base-level issue under an epic using inline issue create (IIC)
Expected Results
It should trigger global issue create (GIC) with necessary pre-filled data for issue creation.
Actual Results
A flag pops up saying "Something went wrong, <custom field name> is required.
Workaround
Do not use inline create on the Timeline page and use Global Issue Create instead.
There is currently no workaround to use inline create because the board JQL can only reference option names and not ids.
Options would need to be renamed until they are unique otherwise, which may affect workflows.
- was cloned as
-
JRACLOUD-87432 JQL context resolution for issue create fails on the backlog when the CMP board filter contains a custom field option that's used in multiple contexts
-
- Closed
-