-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify fields displayed by jira jql "custom_jql"
#47
Comments
try adding following in options object inside config.json
|
Adding "list_issues_columns" didn't change the output of
|
try |
If you are really adventurous you could hit the api endpoint to see if there are any hard coded limits: This line is how we hit the api with rest/api/2/search?jql= As documented here: https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/#searching-for-issues-examples But I guess we should switch our issue search to eventually use: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-jql/#api-group-jql instead. |
@palashkulsh Thank you. I am able to see what field names to use from the json. But defining "list_issues_columns" in config.json didn't change the fields in the output. I checked out the codebase for jira-cli. I don't see the codebase referring to "list_issues_columns". At the same time, I saw the following line in ls.js.
Can you confirm if adding the below lines to config.json will really change the list of fields being displayed in the output?
|
@rasivasu I also can't see any references to list_issues_columns in the ls.js file (the one responsible for handling the jira jql file) and specifically the getIssues method (the one responsible for creating the table). As a temporary workaround you could use the --json flag, then, using your scripting language of choice, create something in your profile to parse this json, get the fields your want, then show the table as you wish. |
Is it possible to add / remove fields displayed by
jira jql "custom_jql"
?The text was updated successfully, but these errors were encountered: