---
number: 7753
title: Adds Blocked By and Blocking to issue relationship tool
author: MannXo
state: MERGED
createdAt: '2025-11-12T10:21:38Z'
updatedAt: '2025-11-12T14:23:00Z'
closedAt: '2025-11-12T14:23:00Z'
mergedAt: '2025-11-12T14:23:00Z'
head: enhancement/blocked-by-blocking-relationships
base: dev
url: 'https://github.com/neomjs/neo/pull/7753'
---
#### summary:
Extends the existing `update_issue_relationship` tool to support GitHub's "blocked by" and "blocking" relationship types, enabling dependency tracking between issues.


Closes #7749 



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

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

**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:22:12Z

**Input from Gemini 2.5 pro:**

> ✦ The core functionality of adding "blocked by" and "blocking" relationships is a valuable enhancement. I'm approving this PR.
> 
> However, during the review, the following areas for improvement were identified and will be addressed in separate follow-up tickets to avoid merge conflicts and keep this PR focused:
> 
> *   **Issue #7757**: Optimize GraphQL responses for `ADD_BLOCKED_BY` and `REMOVE_BLOCKED_BY` mutations. The current responses fetch more data than necessary.
> *   **Issue #7758**: Extract inline GraphQL queries from `IssueService.mjs` to the `queries` folder for better separation of concerns.
> *   **Issue #7759**: Move "blocked by" and "blocking" relationship information from the issue body to the frontmatter in `IssueSyncer.mjs` for improved data structure and consistency.
> 
> Thanks for the contribution!

---

