Skip to content

Ensure namespace is set on issue creation

Alexandru Croitor requested to merge set_namespace_id_when_creating_issue into master

What does this MR do and why?

  • Since currently issues are available only at project level we're updating issues model to set namespace_id = project.project_namespace_id on save.
  • Update issues import from jira and github to set namespace_id = project.project_namespace_id
  • No need to do anything for project import as that is taken care as part of point 1 above.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Alexandru Croitor

Merge request reports