feat(devops): Add git_repository as a model that can be linked to a ticket

ref: #693 #515
This commit is contained in:
2025-03-20 16:47:39 +09:30
parent e725efb9b7
commit 25e0f6d950
3 changed files with 10 additions and 0 deletions

View File

@ -161,6 +161,14 @@ For this command to process the following conditions must be met:
item_type = TicketLinkedItem.Modules.FEATURE_FLAG
elif model_type == 'git_repository':
from devops.models.git_repository.base import GitRepository
model = GitRepository
item_type = TicketLinkedItem.Modules.GIT_REPOSITORY
elif model_type == 'kb':
from assistance.models.knowledge_base import KnowledgeBase