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.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Feature Request - support inline comments in JQL

Lars Rasmussen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2023

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  #>

 

1 answer

0 votes
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2023

Hi @Lars Rasmussen 

This would be super useful but apart from adding a description in the filter there is no way to add inline comments.

filter.png

I never thought about this before, may be because I never had lot of expectations from JQL :)

Ravi

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events