Select Jira Project
This example outlines selecting a project from the Jira Projects database table.
Warning: The following serves as an example only - in practice there is an existing Project picker custom field provided out of the box which you would use.
Note: The example below assumes that one database connection has already been set up with the name
local.Modify the SQL query to change what information is shown, giving you more control over the display. In this example of picking a project from the Jira database, to display both the project name and the key we could use:
select id, pname || ' - ' || pkey from project
where id = cast(? as numeric)If you want more control over how the field renders, please see the Database Picker Customizations section.