You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
jira: if any editor can add labels, why not slash commands as well? #9820
Then anyone who can add a label to the Jira issue can trigger fullsend operation. However, for slash commands, I need to explicitly list either userids or groups in the write: and triage: permissions.
Jira groups are a pain for me as they are quite opaque and somehow link into corporate LDAP in a way that I need to get the IT department involved.
If I am OK with setting labels: jira_editors - why can't we have an equivalent for the slash commands? Basically, if a person can see+edit the issue, I am happy for them to be able to start fullsend on it, either via labels or slash commands.
This would greatly reduce what I have to explain to users and gives them more ways to successfully engage with fullsend, and should result in a much simpler config.
I'd suggest something like write/triage become multi-typed, so it's either the string jira_editors or a dict with the existing groups/accounts split. e.g.
The difference comes from what Jira checks for us, not from a wish to treat the two differently.
Labels: Jira only lets someone change an issue's labels if they have the Edit Issues permission. So when fullsend sees who added a label, Jira has already checked that person. That is all labels: jira_editors relies on.
Slash commands: a command is a comment, and a comment only shows that its author has Add Comments. In many permission schemes that is a wider set of people than Edit Issues. To treat a commenter the same way, fullsend would have to ask Jira whether that person can edit the issue. Jira Cloud only answers that question about another user for an administrator account (/user/permission/search needs Administer Projects, and /permissions/check for another user needs Administer Jira). The poller account is meant to run without those rights.
ADR 0153 weighed both routes ("Trust any commenter" and "A Jira permission-check API") and rejected them for those reasons. So triage: jira_editors would need either a poller with administrator rights, or trusting everyone who can comment.
For the goal you describe ("if a person can see+edit the issue, I am happy for them to be able to start fullsend on it"), labels already do that today with labels: jira_editors, with no groups and no account lists.
One more thing bears on this. Slash commands are also a large part of why the Jira poller can miss requests. To find a command, the poller reads each issue's history from a per-issue checkpoint. Anyone with Edit Issues can change that checkpoint, so the poller never trusts it further back than 24 hours, to stop old commands from being replayed. In a busy project a request can wait longer than that and be missed (see Jira poller: fresh requests wait behind handled tickets and can be missed under load). A label request does not need the checkpoint, because issues that carry the label can be found by search. A typed command does need it. For that reason the plan for Jira is label triggers only, rather than more ways to authorize slash commands. I will open an ADR for removing slash commands from Jira ASAP. So I would not plan around a jira_editors option for commands.
Posted by Bill Murdock with assistance from Claude Code.
a command is a comment, and a comment only shows that its author has Add Comments. In many permission schemes that is a wider set of people than Edit Issues. To treat a commenter the same way, fullsend would have to ask Jira whether that person can edit the issue.
But also in many permissions schemes, just the ability to see the issue at all is "security" enough (e.g. they are a company employee); so you would be happy if they can add a comment, or edit the issue, they could start fullsend.
For that reason the plan for Jira is label triggers only, rather than more ways to authorize slash commands. I will open an ADR for removing slash commands from Jira ASAP.
However, do we not forsee any need to augment fullsend agent invocation via natural language, which adding a tag doesn't facilitate?
Right now, if you type in /fs-code followed by a bunch of natural language the instruction in that natural language is just going to be part of the comments on the ticket and the coding agent will presumably treat it like any other comment on a ticket. Users can still put a comment on the issue before they put the ready-to-code label and then get the same behavior they were getting before (unless for some reason, the agent was interpreting a /fs-code before the comment as having some special semantics, which I guess you could still approximate by putting /fs-code before your comment if you really wanted to).
I think this winds up being a net advantage for removing Jira slash commands because they were kind of giving the impression that anything you put after the slash command had some sort of privileged status, which it doesn't. It's just a comment like any other. Note that /fs-fix does actually take natural language after the command as an actual instruction to pass along to the agent as an instruction, rather than just a comment. But /fs-fix only applies to pull requests and pull requests don't live in Jira so /fs-fix isn't available in Jira.
BTW, the ADR for removing / commands in Jira is now open: #9847
Also in practice, the coding agent generally does do whatever is told in the comment unless the comment somehow contradicts something else that is told. So putting special instructions into a comment does actually work in practice. At least in my experience.
Activity
jwm4 commentedon Nov 24, 2026
The difference comes from what Jira checks for us, not from a wish to treat the two differently.
labels: jira_editorsrelies on./user/permission/searchneeds Administer Projects, and/permissions/checkfor another user needs Administer Jira). The poller account is meant to run without those rights.ADR 0153 weighed both routes ("Trust any commenter" and "A Jira permission-check API") and rejected them for those reasons. So
triage: jira_editorswould need either a poller with administrator rights, or trusting everyone who can comment.For the goal you describe ("if a person can see+edit the issue, I am happy for them to be able to start fullsend on it"), labels already do that today with
labels: jira_editors, with no groups and no account lists.One more thing bears on this. Slash commands are also a large part of why the Jira poller can miss requests. To find a command, the poller reads each issue's history from a per-issue checkpoint. Anyone with Edit Issues can change that checkpoint, so the poller never trusts it further back than 24 hours, to stop old commands from being replayed. In a busy project a request can wait longer than that and be missed (see Jira poller: fresh requests wait behind handled tickets and can be missed under load). A label request does not need the checkpoint, because issues that carry the label can be found by search. A typed command does need it. For that reason the plan for Jira is label triggers only, rather than more ways to authorize slash commands. I will open an ADR for removing slash commands from Jira ASAP. So I would not plan around a
jira_editorsoption for commands.Posted by Bill Murdock with assistance from Claude Code.
ianw commentedon Nov 24, 2026
Huh, OK.
But also in many permissions schemes, just the ability to see the issue at all is "security" enough (e.g. they are a company employee); so you would be happy if they can add a comment, or edit the issue, they could start fullsend.
This probably is a decent simplification, deciphering https://fullsend.sh/docs/v/v0.57.1/guides/user/jira-integration#actor-role-resolution is already hard enough.
However, do we not forsee any need to augment fullsend agent invocation via natural language, which adding a tag doesn't facilitate?
jwm4 commentedon Nov 24, 2026
Right now, if you type in
/fs-codefollowed by a bunch of natural language the instruction in that natural language is just going to be part of the comments on the ticket and the coding agent will presumably treat it like any other comment on a ticket. Users can still put a comment on the issue before they put the ready-to-code label and then get the same behavior they were getting before (unless for some reason, the agent was interpreting a /fs-code before the comment as having some special semantics, which I guess you could still approximate by putting /fs-code before your comment if you really wanted to).I think this winds up being a net advantage for removing Jira slash commands because they were kind of giving the impression that anything you put after the slash command had some sort of privileged status, which it doesn't. It's just a comment like any other. Note that /fs-fix does actually take natural language after the command as an actual instruction to pass along to the agent as an instruction, rather than just a comment. But /fs-fix only applies to pull requests and pull requests don't live in Jira so /fs-fix isn't available in Jira.
BTW, the ADR for removing / commands in Jira is now open: #9847
jwm4 commentedon Nov 24, 2026
Also in practice, the coding agent generally does do whatever is told in the comment unless the comment somehow contradicts something else that is told. So putting special instructions into a comment does actually work in practice. At least in my experience.