This article describes how to use placeholders in combination with SQL to specify a data source for a grid. Table Grid Next Generation supports placeholders to query Jira values.Jira values can be used to populate the grid with data from Jira objects.
You can query the values from the following Jira-specific objects: issue, project, component, user and custom fields.
For example, you can populate the grid column with a default value retrieved from Jira object.
You can use Jira values to populate the grid with data in different cases:
- initialize grid with data
- set default values for gird columns
- populate select lists with dynamic options retrieved from Jira
- use custom field values in a grid: get data from a custom field which has a list of values and populate a grid with these values.
Supported values
Basic Jira Values
Issue Level specific | Project Level specific | Current User Level specific |
---|---|---|
|
|
|
Example placeholders for basic Jira values
Below you can find some example of the placeholders with the queries
select name,price from sandwich_menu where restaurant={customfield:10010}
Custom Field Values
Single Value types
- Date (should be treated as dates in our date column types)
- Date Picker
- Date Time Picker
- Numeric (should be treated as dates in our date column types)
- Number Field
- All other custom fields without a specific type should be handled the same way - get custom field value as a string
Multi-Value types
- Checkboxes
- Labels
- Radio Buttons
- Select List (cascading)
- Select List (multiple choices)
- Group Picker (multiple groups)
- User Picker (multiple users)
- Version Picker (multiple versions)
Example placeholders for custom field values
customfield:{id}
example
customfield:12345 // retreives data from the custom field with id 12345