Sunday, October 17, 2010

Redmine: Creating a new custom query

As I mentioned in the last post, Redmine's documentation isn't very thorough. Here's how to create a new custom query in version 1.0.
  1. Log into your project.
  2. Select the Issues tab.
  3. Open the disclosure triangle for Filters, and set the status and any other filters you want.
  4. Open the disclosure triangle for Options, and set the columns and grouping you want.
  5. Click on the Apply button above the results table.
  6. If you aren't satisfied with what you see, change the filters/columns/grouping, and press the Apply button again.
  7. When you're satisfied with what you have, press the Save button above the results table. This will take you to the New query page.
  8. Enter a name for the query in the Name field. If you like, you can make the query public, and make it available either for the current project or all projects.
  9. Make any changes you want to the sort order. (You can also change the grouping, filters and columns, but presumably you set those up the way you wanted before.
  10. Press the Save button at the bottom of the page.


Anonymous said...

So how do you edit one once you've created it?

bobert said...

@Jeremy: It's really easy.
1. Select the Issues tab.
2. Pick the query you want to edit from the "Custom Queries" list, which in the default layout is on the right side of the page.
3. Once your query is displayed, look at the upper right of the query area, across from the query title. You'll see an Edit button with a pencil icon. Click on that and youc can edit that query.
4. Once you're done editing, click the "Save" button at the bottom of the edit page. Or, if you decide to cancel your changes, just navigate to any other web page, or hit the "Back" button in your browser.

Subhojit Paul said...

Thanks for sharing :)