Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@metroid-samus
Copy link
Contributor

No description provided.

@metroid-samus metroid-samus added the enhancement New feature or request label Dec 3, 2024
@metroid-samus metroid-samus marked this pull request as ready for review December 3, 2024 21:13
@kevgliss
Copy link
Contributor

kevgliss commented Dec 3, 2024

hmm, I don't think we want to do it this way. When include is supported:

We create a special result set using:

We should figure out a way to support nested objects via that function such that additionally nested fields can be gathered as well.

This would also solve the problem across the incident, case and task apis.

Lmk if you want to pair on that approach, it's been a long time since I looked at that code and it's sort of magical.

@metroid-samus metroid-samus merged commit ad45c42 into master Dec 12, 2024
8 checks passed
@metroid-samus metroid-samus deleted the enhancement/include-case-tag-ticket-fields-in-get-cases branch December 12, 2024 18:07
metroid-samus added a commit that referenced this pull request Dec 12, 2024
* Add tags and tickets fields to get cases request

* Attempt to move include parameter in GET requests to Cases into database service.

* Adding tests

* Adding tests

* Add tags and ticket fields back to CaseReadMinimal

* Switch test from Incident to Case.

* remove duplicates

* Fix unused variable assignment

* Fixing tests

---------

Co-authored-by: kevgliss <[email protected]>
Co-authored-by: Kevin Glisson <[email protected]>
metroid-samus added a commit that referenced this pull request Dec 16, 2024
* Allow export of tag fields for Incidents and Cases.

* Add tags and tickets fields to get cases request (#5564)

* Add tags and tickets fields to get cases request

* Attempt to move include parameter in GET requests to Cases into database service.

* Adding tests

* Adding tests

* Add tags and ticket fields back to CaseReadMinimal

* Switch test from Incident to Case.

* remove duplicates

* Fix unused variable assignment

* Fixing tests

---------

Co-authored-by: kevgliss <[email protected]>
Co-authored-by: Kevin Glisson <[email protected]>

* Export tags as tag_type.name/tag.name

* Preview case tag column as 'tag_type.name/tag.name'

---------

Co-authored-by: kevgliss <[email protected]>
Co-authored-by: Kevin Glisson <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants