Check a bug issue's lifecycle state
Use this to read where a bug issue stands — combining GitHub’s native
open/closed state with the triage board’s Status value — without mutating
anything.
-
Call:
get_lifecycle_state {owner: "<owner>",repo: "<repo>",issueNumber: <n>,projectOwnerLogin: "<org-or-user>",projectNumber: <n>} -
Read the response:
{"issueNumber": 142,"nativeState": "open","onBoard": true,"status": "In Progress"}nativeStateis GitHub’s ownopen/closed, independent of the board.onBoard: falsemeans the issue isn’t a project item on the board you specified;statuswill benullin that case.status: nullwithonBoard: truemeans the issue is on the board but itsStatusfield has no value set. Neither case is an error — this tool never throws for a missing board membership or Status value.
- If you need a hard failure instead of a null on a missing board/field (for example, before a write), use set_lifecycle_state instead — it resolves the same data but must throw a typed error when it can’t proceed.
See also
Section titled “See also”- reference/tools.md — full input/output schema.