Reference

Endpoint 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 Required Options
Name: FieldId

Label: FieldId

YES
Name: ContextId

Label: ContextId

YES

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
IsLast DT_BOOL bit
Id DT_WSTR nvarchar(100) 100
Value DT_WSTR nvarchar(1000) 1000
Isdisabled DT_BOOL bit
OptionId DT_WSTR nvarchar(1000) 1000
If the column you are looking for is missing, consider customizing Jira Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length 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 or in API Destination SSIS Data Flow components to read or write data.

API Source

API Source - Jira
Jira connector can be used to read, write, delete Issues, Users, Worklogs, Comments, Projects, Custom fileds and many other details
Jira
Get custom field context options
Required Parameters
FieldId Fill-in the parameter...
ContextId Fill-in the parameter...
SSIS API Source - Read from table or endpoint

API Destination

API Destination - Jira
Jira connector can be used to read, write, delete Issues, Users, Worklogs, Comments, Projects, Custom fileds and many other details
Jira
Get custom field context options
Required Parameters
FieldId Fill-in the parameter...
ContextId Fill-in the parameter...
SSIS API Destination - Access table or endpoint

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];