Find agile boards connected to an issue
Hello,
Is there a way to check when an issue is removed from an agile board?
I'm trying to change an issue state when the issue is removed from a board e.g by dragging it from the current board to the backlog in the agile board view.
Please sign in to leave a comment.
Hi!
You can do this with a workflow: check
board.isRemoved(issue)(orgetRemovedSprints(issue)if the issue can sit on several sprints at once) inside anonChangerule's guard, then set the state in the action. Something like:This needs YouTrack 2024.2 or later. One catch: it only works on regular boards, not a query-based board with sprints disabled, since those don't have a backlog to drag into in the first place.
See docs: Agile.isRemoved.