Get custom field context options
Name
get_custom_field_option_for_context
Description
Returns a paginated list of all custom field option for a context. Options are returned first then cascading options, in the order they display in Jira. OAuth scopes required: read:field.option:jira
Parameters
Parameter | Label | Required | Options | Description |
---|---|---|---|---|
FieldId | FieldId | YES | ||
ContextId | ContextId | YES |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
IsLast |
DT_BOOL
|
bit
|
False |
||
Id |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
Value |
DT_WSTR
|
nvarchar(1000)
|
1000 | False |
|
Isdisabled |
DT_BOOL
|
bit
|
False |
||
OptionId |
DT_WSTR
|
nvarchar(1000)
|
1000 | False |
If the column you are looking for is missing, consider customizing Jira Connector.
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
Examples
SSIS
Use Jira Connector in API Source component to read data or in API Destination component to read/write data:
Get custom field context options using API Source
Jira
Get custom field context options

Get custom field context options using API Destination
Jira
Get custom field context options

ODBC application
Use these SQL queries in your ODBC application data source:
Get custom field context options
SELECT * FROM get_custom_field_option_for_context
WITH
(
"FieldId" = 'abcd-1234-fieldid',
"ContextId" = 'abcd-1234-contextid'
)
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get custom field context options
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_custom_field_option_for_context
WITH
(
"FieldId" = ''abcd-1234-fieldid'',
"ContextId" = ''abcd-1234-contextid''
)';
EXEC (@MyQuery) AT [LS_TO_JIRA_IN_GATEWAY];