---
number: 7754
title: Optimizes ADD_SUB_ISSUE and REMOVE_SUB_ISSUE mutations
author: MannXo
state: MERGED
createdAt: '2025-11-12T10:26:44Z'
updatedAt: '2025-11-12T14:27:18Z'
closedAt: '2025-11-12T14:27:18Z'
mergedAt: '2025-11-12T14:27:17Z'
head: enhancement/optimize-subissue-mutations
base: dev
url: 'https://github.com/neomjs/neo/pull/7754'
---
#### Summary:
Optimizes `ADD_SUB_ISSUE` and `REMOVE_SUB_ISSUE` GraphQL mutations by removing unnecessary data from response payloads, improving performance and reducing API costs.

**Does this PR resolve an issue?** (Required)

Closes #7750 


**What kind of change does this PR introduce?** (check at least one)

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update
- [x] Refactor
- [ ] Build-related changes
- [ ] Other, please describe:

**Does this PR introduce a breaking change?** (check one)

- [ ] Yes
- [x] No

If yes, please describe the impact and migration path for existing applications:

**The PR fulfills this requirement:**

- [x] It's submitted to the `dev` branch, _not_ the `main` branch

If adding a **new feature**, the PR's description includes:
- [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

**Other information:**


## Comments

### `@tobiu` commented on 2025-11-12T14:26:54Z

**Input from Gemini 2.5 pro:**

> ✦ This PR correctly optimizes the `ADD_SUB_ISSUE` and `REMOVE_SUB_ISSUE` mutations by removing the unnecessary fetching of sub-issues in the response payload. This is a good improvement for performance and API efficiency.
> 
> LGTM!

---

