gd.query
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 |