Command Grammar
This page provides a BNF description of the YouTrack command grammar.
Grammar
<CommandList> ::= <Command> ( <Command> )*
<Command> ::= <Comment> | <Value> | <LinkCommand> | <TagCommand> | <AttributeCommand> | <MultipleCommand>
<Comment> ::= 'comment'
<LinkCommand> ::= <LinkType> <IssueId>
<TagCommand> ::= 'tag' (<TagName> | <NewTagName>) | 'untag' <TagName>
<StarCommand> ::= ( 'unstar' | 'star' ) [ <Username> ]
<AttributeCommand> ::= <Attribute> <Value>
<MultipleCommand> ::= ('add' | 'remove') (<Value> | <LinkCommand> | <MultipleAttributeCommand> )
<MultipleAttributeCommand> ::= <MultipleAttribute> <Value>
Grammar is case-insensitive.
For a complete list of command attributes, see Command Reference.
Examples
Last modified: 18 April 2017