Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Per https://stackoverflow.com/questions/29351567/jira-jql-can-have-inline-embedded-comments
I'd like to be able to add inline comments to a JQL query that would not affect what is being queried - purely for informational/documentation purposes.
That way I have an option to describe what a given query is doing without modifying / breaking the JQL.
Example:
assignee in (612fa4c38bb88c006f46bbda) OR reporter in (612fa4c38bb88c006f46bbda) OR creator in (612fa4c38bb88c006f46bbda) OR watcher in (612fa4c38bb88c006f46bbda) AND description ~'size' ORDER BY updated DESC <# This query looks for my user and the string 'size' in the description field #>
This would be super useful but apart from adding a description in the filter there is no way to add inline comments.
I never thought about this before, may be because I never had lot of expectations from JQL :)
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.