chore: link and attachment count for cycles and modules (#1307)

This commit is contained in:
pablohashescobar 2023-06-16 18:59:13 +05:30 committed by GitHub
parent bfe581d3bd
commit 56a4e18a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -483,6 +483,8 @@ class IssueStateSerializer(BaseSerializer):
assignee_details = UserLiteSerializer(read_only=True, source="assignees", many=True)
sub_issues_count = serializers.IntegerField(read_only=True)
bridge_id = serializers.UUIDField(read_only=True)
attachment_count = serializers.IntegerField(read_only=True)
link_count = serializers.IntegerField(read_only=True)
class Meta:
model = Issue