Add context to work item creation drafts

What does this MR do and why?

Add context to work item creation drafts

Add context so we can isolate drafts even more, because currently the creation flow at /issues/new, /issues/, and the super sidebar all share the same draft

Changelog: changed

References

Screenshots or screen recordings

Before After
Screen_Recording_2025-08-11_at_3.58.42_pm Screen_Recording_2025-08-11_at_3.42.28_pm

How to set up and validate locally

  1. Enable issues_list_create_modal feature flag
  2. Create new work item drafts at
    1. http://127.0.0.1:3000/flightjs/flight/-/issues/new
    2. http://127.0.0.1:3000/flightjs/flight/-/issues/ > select "New item"
    3. http://127.0.0.1:3000/flightjs/flight/-/issues/1 > select ellipsis dropdown > select "New related item"
    4. http://127.0.0.1:3000/flightjs/flight/-/issues/ > select "+" from super sidebar > select "New issue"
  3. Re-check each of the above to make sure the drafts are all isolated

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #500902

Edited by Coung Ngo

Merge request reports

Loading