Reference

Endpoint Get custom field contexts


Name

get_custom_field_contexts

Description

Returns a paginated list list of contexts for a custom field. OAuth scopes required: read:field:jira, read:custom-field-contextual-configuration:jira

Parameters

Parameter Required Options
Name: FieldId

Label: FieldId

YES

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
IsLast DT_BOOL bit
Id DT_WSTR nvarchar(100) 100
Name DT_WSTR nvarchar(1000) 1000
Description DT_WSTR nvarchar(4000) 4000
IsGlobalContext DT_BOOL bit
IsAnyIssueType DT_BOOL bit
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 contexts
Required Parameters
FieldId 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 contexts
Required Parameters
FieldId 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 contexts

SELECT * FROM get_custom_field_contexts
WITH
(
    "FieldId" = 'abcd-1234-fieldid'
)

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Get custom field contexts

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_custom_field_contexts
WITH
(
    "FieldId" = ''abcd-1234-fieldid''
)';

EXEC (@MyQuery) AT [LS_TO_JIRA_IN_GATEWAY];