feat(core): Link Team to ticket

ref: #274 #426
This commit is contained in:
2024-12-19 14:20:37 +09:30
parent 5c324af5d3
commit 88b79bf94f
2 changed files with 13 additions and 0 deletions

View File

@ -132,6 +132,14 @@ For this command to process the following conditions must be met:
item_type = TicketLinkedItem.Modules.SOFTWARE
elif model_type == 'team':
from access.models import Team
model = Team
item_type = TicketLinkedItem.Modules.TEAM
else:
return str(match.string[match.start():match.end()])