A query, used to initialize the grid when the issue is created, when the grid is reloaded using the reload button or when a dependent custom field is changed.
Note that this property is applied only on the creation of the issue.
Class | init |
---|---|
Property | gd.query |
Formal specification | gd.query=sql query |
Required | no; yes for Connected grid |
Default | |
Version | 1.0 |
Comment | * Be very carefull with the queries. You might use a query which brings down the database instance, or use stored procedures which wipe the database.
|
Example | ... gd.columns=sandwich,price,number gd.table=sandwich_order gd.query=select name,price from sandwich_menu where restaurant={customfield:10010} gd.query.ds=gridds ... In this example: customfield:10010 is a JIRA customfield listing all the restaurants for which a sandwich menu is known. |
Reference | gd.query.columns |