Skip to content

Commit

Permalink
✨ Source Jira: add new stream Issue custom field options, `IssueTyp…
Browse files Browse the repository at this point in the history
…es`, `Project Roles` (#30755)
  • Loading branch information
artem1205 authored Sep 27, 2023
1 parent 12289ee commit f2421ec
Show file tree
Hide file tree
Showing 13 changed files with 383 additions and 81 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-jira/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.7.2
LABEL io.airbyte.version=0.8.0
LABEL io.airbyte.name=airbyte/source-jira
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,16 @@
"sync_mode": "full_refresh",
"destination_sync_mode": "append"
},
{
"stream": {
"name": "issue_custom_field_options",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "append"
},
{
"stream": {
"name": "issue_link_types",
Expand Down Expand Up @@ -235,6 +245,16 @@
"sync_mode": "full_refresh",
"destination_sync_mode": "append"
},
{
"stream": {
"name": "issue_types",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "append"
},
{
"stream": {
"name": "issue_type_screen_schemes",
Expand Down Expand Up @@ -375,6 +395,16 @@
"sync_mode": "full_refresh",
"destination_sync_mode": "append"
},
{
"stream": {
"name": "project_roles",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "append"
},
{
"stream": {
"name": "project_types",
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-jira/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 68e63de2-bb83-4c7e-93fa-a8a9051e3993
dockerImageTag: 0.7.2
dockerImageTag: 0.8.0
maxSecondsBetweenMessages: 21600
dockerRepository: airbyte/source-jira
githubIssueLabel: source-jira
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$schema": "https://json-schema.org/draft-07/schema#",
"type": "object",
"description": "The details of a custom field context.",
"properties": {
"id": {
"type": "string",
"type": ["null", "string"],
"description": "The ID of the context."
},
"fieldId": {
"type": ["null", "string"],
"description": "Id of the related field"
},
"name": {
"type": "string",
"type": ["null", "string"],
"description": "The name of the context."
},
"description": {
"type": "string",
"type": ["null", "string"],
"description": "The description of the context."
},
"isGlobalContext": {
"type": "boolean",
"type": ["null", "boolean"],
"description": "Whether the context is global."
},
"isAnyIssueType": {
"type": "boolean",
"type": ["null", "boolean"],
"description": "Whether the context apply to all issue types."
},
"fieldType": {
"type": ["null", "string"]
}
},
"additionalProperties": true,
"description": "The details of a custom field context."
}
}
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$schema": "https://json-schema.org/draft-07/schema#",
"type": "object",
"description": "Details of the custom field options for a context.",
"properties": {
"id": {
"type": "string",
"type": ["null", "string"],
"description": "The ID of the custom field option."
},
"value": {
"type": "string",
"type": ["null", "string"],
"description": "The value of the custom field option."
},
"optionId": {
"type": "string",
"type": ["null", "string"],
"description": "For cascading options, the ID of the custom field option containing the cascading option."
},
"disabled": {
"type": "boolean",
"type": ["null", "boolean"],
"description": "Whether the option is disabled."
},
"fieldId": {
"type": ["null", "string"]
},
"contextId": {
"type": ["null", "string"]
}
},
"additionalProperties": true,
"description": "Details of the custom field options for a context."
}
}
Original file line number Diff line number Diff line change
@@ -1,89 +1,89 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"$schema": "https://json-schema.org/draft-07/schema#",
"type": ["null", "object"],
"description": "Details about an issue type.",
"properties": {
"self": {
"type": "string",
"description": "The URL of these issue type details.",
"readOnly": true
},
"id": {
"type": "string",
"description": "The ID of the issue type.",
"avatarId": {
"type": ["null", "integer"],
"description": "The ID of the issue type's avatar.",
"readOnly": true
},
"description": {
"type": "string",
"type": ["null", "string"],
"description": "The description of the issue type.",
"readOnly": true
},
"iconUrl": {
"type": "string",
"description": "The URL of the issue type's avatar.",
"entityId": {
"type": ["null", "string"],
"description": "Unique ID for next-gen projects.",
"readOnly": true
},
"name": {
"type": "string",
"description": "The name of the issue type.",
"hierarchyLevel": {
"type": ["null", "integer"],
"description": "Hierarchy level of the issue type.",
"readOnly": true
},
"subtask": {
"type": "boolean",
"description": "Whether this issue type is used to create subtasks.",
"iconUrl": {
"type": ["null", "string"],
"description": "The URL of the issue type's avatar.",
"readOnly": true
},
"avatarId": {
"type": "integer",
"description": "The ID of the issue type's avatar.",
"id": {
"type": ["null", "string"],
"description": "The ID of the issue type.",
"readOnly": true
},
"entityId": {
"type": "string",
"description": "Unique ID for next-gen projects.",
"name": {
"type": ["null", "string"],
"description": "The name of the issue type.",
"readOnly": true
},
"hierarchyLevel": {
"type": "integer",
"description": "Hierarchy level of the issue type.",
"self": {
"type": ["null", "string"],
"description": "The URL of these issue type details.",
"readOnly": true
},
"subtask": {
"type": ["null", "boolean"],
"description": "The URL of these issue type details.",
"readOnly": true
},
"scope": {
"description": "Details of the next-gen projects the issue type is available in.",
"readOnly": true,
"type": "object",
"type": ["null", "object"],
"properties": {
"type": {
"type": "string",
"type": ["null", "string"],
"description": "The type of scope.",
"readOnly": true,
"enum": ["PROJECT", "TEMPLATE"]
"readOnly": true
},
"project": {
"description": "The project the item has scope in.",
"readOnly": true,
"type": "object",
"type": ["null", "object"],
"properties": {
"self": {
"type": "string",
"type": ["null", "string"],
"description": "The URL of the project details.",
"readOnly": true
},
"id": {
"type": "string",
"type": ["null", "string"],
"description": "The ID of the project."
},
"key": {
"type": "string",
"type": ["null", "string"],
"description": "The key of the project.",
"readOnly": true
},
"name": {
"type": "string",
"type": ["null", "string"],
"description": "The name of the project.",
"readOnly": true
},
"projectTypeKey": {
"type": "string",
"type": ["null", "string"],
"description": "The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes) of the project.",
"readOnly": true,
"enum": ["software", "service_desk", "business"]
Expand All @@ -96,48 +96,48 @@
"avatarUrls": {
"description": "The URLs of the project's avatars.",
"readOnly": true,
"type": "object",
"type": ["null", "object"],
"properties": {
"16x16": {
"type": "string",
"type": ["null", "string"],
"description": "The URL of the item's 16x16 pixel avatar."
},
"24x24": {
"type": "string",
"type": ["null", "string"],
"description": "The URL of the item's 24x24 pixel avatar."
},
"32x32": {
"type": "string",
"type": ["null", "string"],
"description": "The URL of the item's 32x32 pixel avatar."
},
"48x48": {
"type": "string",
"type": ["null", "string"],
"description": "The URL of the item's 48x48 pixel avatar."
}
}
},
"projectCategory": {
"description": "The category the project belongs to.",
"readOnly": true,
"type": "object",
"type": ["null", "object"],
"properties": {
"self": {
"type": "string",
"type": ["null", "string"],
"description": "The URL of the project category.",
"readOnly": true
},
"id": {
"type": "string",
"type": ["null", "string"],
"description": "The ID of the project category.",
"readOnly": true
},
"description": {
"type": "string",
"type": ["null", "string"],
"description": "The name of the project category.",
"readOnly": true
},
"name": {
"type": "string",
"type": ["null", "string"],
"description": "The description of the project category.",
"readOnly": true
}
Expand All @@ -146,8 +146,9 @@
}
}
}
},
"untranslatedName": {
"type": ["null", "string"]
}
},
"additionalProperties": true,
"description": "Details about an issue type."
}
}
Loading

0 comments on commit f2421ec

Please sign in to comment.