Lecture depuis les entités Jira Cloud - AWS Glue

Lecture depuis les entités Jira Cloud

Prérequis

Un objet Jira Cloud à partir duquel vous souhaitez lire. Vous aurez besoin du nom de l’objet, comme Audit Record ou Issue. Le tableau suivant présente les entités prises en charge.

Entités prises en charge pour la source :

Entité Peut être filtré Limit prise en charge Order by prise en charge Select prise en charge* Partitionnement pris en charge
Audit Record Oui Oui Non Oui Oui
Problème Oui Oui Non Oui Oui
Issue Field Non Non Non Oui Non
Issue Field Configuration Oui Oui Non Oui Oui
Issue Link Type Non Non Non Oui Non
Issue Notification Scheme Oui Oui Non Oui Oui
Issue Security Scheme Non Non Non Oui Non
Issue Type Scheme Oui Oui Oui Oui Oui
Issue Type Screen Scheme Oui Oui Oui Oui Oui
Issue Type Non Non Non Oui Non
Jira Setting Oui Non Non Oui Non
Jira Setting Advanced Non Non Non Oui Non
Jira Setting Global Non Non Non Oui Non
Étiquette Non Non Non Oui Oui
Myself Oui Non Non Oui Non
Autorisations Non Non Non Oui Non.
Projet Oui Oui Oui Oui Oui
Project Category Non Non Non Oui Non
Type de projet Non Non Non Oui Non
Server Info Non Non Non Oui Non
Users Non Non Non. Oui Non
Flux de travail Oui Oui Oui Oui Oui
Workflow Scheme Non Oui Non Oui Oui
Workflow Scheme Project Association Oui Non Non Oui Non
Workflow Status Non Non Non Oui Non
Workflow Status Category Non Non Non Oui Non

Exemple :

jiracloud_read = glueContext.create_dynamic_frame.from_options( connection_type="JiraCloud", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "audit-record", "API_VERSION": "v2" }

Détails des entités et des champs Jira Cloud :

Objet Champ Type de données Opérateurs de filtre pris en charge
Audit Record filtre Chaîne "="
from DateTime "="
to DateTime "="
id Entier N/A
récapitulatif Chaîne N/A
remoteAddress Chaîne N/A
authorAccountId Chaîne N/A
créé Chaîne N/A
category Chaîne N/A
eventSource Chaîne N/A
description Chaîne N/A
objectItem Struct N/A
changedValues Liste N/A
associatedItems Liste N/A
Groups (Groupes) groupName Liste "="
name Chaîne N/A
groupId Chaîne "="
Problème affectedVersion Chaîne "=, !="
assignee Chaîne "=, !="
category Chaîne "=, !="
component Chaîne "=, !="
creator Chaîne "=, !="
due DateTime N/A
epic_link Chaîne "=, !="
filtre Chaîne "=, !="
fixVersion Chaîne "=, !="
hierarchyLevel Entier "=, !="
issueKey Chaîne "=, !=, >, <, >=, <="
issueLink Chaîne "=, !="
issueLinkType Chaîne "=, !="
labels Chaîne "=, !="
lastViewed DateTime "=, >, <, >=, <=, between"
level Chaîne "=, !="
parent Chaîne "=, !="
priority Chaîne "=, !="
project Chaîne "=, !="
projectType Chaîne "=, !="
reporter Chaîne "=, !="
resolution Chaîne "=, !="
resolved DateTime "=, >, <, >=, <=, between"
sprint Chaîne "=, !="
status Chaîne "=, !="
type Chaîne "=, !="
updated DateTime "=, >, <, >=, <=, between"
voter Chaîne "=, !="
votes Entier "=, !=, <, >, <=, >=, between"
watcher Chaîne "=, !="
watchers Entier "=, !=, <, >, <=, >=, between"
workRatio Entier "=, !=, <, >, <=, >=, between"
validateQuery Chaîne "="
expand Chaîne "="
fieldByKeys Booléen "="
id Chaîne N/A
self Chaîne N/A
key Chaîne N/A
renderedFields Struct N/A
propriétés Liste "="
names Struct N/A
schéma Struct N/A
transitions Liste N/A
opérations Struct N/A
editmeta Struct N/A
changelog Struct N/A
versionedRepresentations Struct N/A
fields Liste "="
fieldsToInclude Struct N/A
warningMessages Liste N/A
créé DateTime N/A
worklogDate DateTime N/A
IssueEvents id Entier N/A
name Chaîne N/A
Issue Fields id Chaîne N/A
key Chaîne N/A
name Chaîne N/A
personnalisé Booléen N/A
orderable Booléen N/A
navigable Booléen N/A
searchable Booléen N/A
clauseNames Liste N/A
scope Struct N/A
schéma Struct N/A
Issue Field Configurations isDefault Booléen "="
query Chaîne "="
id Entier "="
name Chaîne N/A
description Chaîne N/A
Issue Link Type id Chaîne N/A
name Chaîne N/A
inward Chaîne N/A
outward Chaîne N/A
self Chaîne N/A
Issue Notification Schemes expand Chaîne "="
self Chaîne N/A
id Entier N/A
name Chaîne N/A
description Chaîne N/A
notificationSchemeEvents Liste N/A
scope Struct N/A
Issue Priority self Chaîne N/A
statusColor Chaîne N/A
description Chaîne N/A
iconUrl Chaîne N/A
name Chaîne N/A
id Chaîne N/A
isDefault Booléen N/A
Issue Resolutions self Chaîne N/A
id Chaîne N/A
description Chaîne N/A
name Chaîne N/A
Issue Security Scheme self Chaîne N/A
id Entier N/A
name Chaîne N/A
description Chaîne N/A
defaultSecurityLevelId Entier N/A
levels Liste N/A
Issue Type self Chaîne N/A
id Chaîne N/A
description Chaîne N/A
iconUrl Chaîne N/A
name Chaîne N/A
subtask Booléen N/A
avatarId Entier N/A
entityId Chaîne N/A
hierarchyLevel Entier N/A
scope Struct N/A
Issue Type Scheme orderBy Chaîne "="
expand Chaîne "="
queryString Chaîne "="
id Chaîne N/A
name Chaîne N/A
description Chaîne N/A
defaultIssueTypeId Chaîne N/A
isDefault Booléen N/A
Issue Type Screen Scheme queryString Chaîne "="
orderBy Chaîne "="
expand Chaîne "="
id Chaîne "="
name Chaîne N/A
description Chaîne N/A
Jira Settings key Chaîne N/A
keyFilter Chaîne "="
id Chaîne N/A
value Chaîne N/A
name Chaîne N/A
desc Chaîne N/A
type Chaîne N/A
defaultValue Chaîne N/A
exemple Chaîne N/A
allowedValues Liste N/A
Jira Settings Advanced id Chaîne N/A
key Chaîne N/A
value Chaîne N/A
name Chaîne N/A
desc Chaîne N/A
type Chaîne N/A
defaultValue Chaîne N/A
exemple Chaîne N/A
allowedValues Liste N/A
Jira Settings Global votingEnabled Booléen N/A
watchingEnabled Booléen N/A
unassignedIssuesAllowed Booléen N/A
subTasksEnabled Booléen N/A
issueLinkingEnabled Booléen N/A
timeTrackingEnabled Booléen N/A
attachmentsEnabled Booléen N/A
timeTrackingConfiguration Struct N/A
Étiquette values Liste N/A
Myself expand Chaîne "="
self Chaîne N/A
accountId Chaîne N/A
accountType Chaîne N/A
emailAddress Chaîne N/A
avatarUrls Chaîne N/A
displayName Chaîne N/A
actif Booléen N/A
timeZone Chaîne N/A
locale Chaîne N/A
groups Struct N/A
applicationRoles Struct N/A
Autorisations id Chaîne N/A
key Chaîne N/A
name Chaîne N/A
type Chaîne N/A
description Chaîne N/A
havePermission Booléen N/A
deprecatedKey Booléen N/A
Projet orderBy Chaîne "="
clés Liste "="
query Chaîne "="
typeKey Chaîne "="
categoryId Entier "="
action Chaîne "="
expand Chaîne "="
status Liste "="
self Chaîne N/A
id Entier "="
key Chaîne N/A
description Chaîne N/A
lead Struct N/A
components Liste N/A
issueTypes Liste N/A
url Chaîne N/A
e-mail Chaîne N/A
assigneeType Chaîne N/A
versions Liste N/A
name Chaîne N/A
roles Struct N/A
avatarUrls Struct N/A
projectCategory Struct N/A
projectTypeKey Chaîne N/A
simplified Booléen N/A
style Chaîne N/A
favourite Booléen N/A
isPrivate Booléen N/A
issueTypeHierarchy Struct N/A
des autorisations Struct N/A
propriétés Liste "="
uuid Chaîne N/A
insight Struct N/A
deleted Booléen N/A
retentionTillDate Chaîne N/A
deletedDate Chaîne N/A
deletedBy Struct N/A
archived Booléen N/A
archivedDate Chaîne N/A
archivedBy Struct N/A
landedPageInfo Struct N/A
Project Category self Chaîne N/A
id Chaîne N/A
name Chaîne N/A
description Chaîne N/A
Type de projet key Chaîne N/A
formattedKey Chaîne N/A
description Chaîne N/A
descriptionI18nKey Chaîne N/A
icon Chaîne N/A
color Chaîne N/A
Server Info baseUrl Chaîne N/A
version Chaîne N/A
versionNumbers Liste N/A
deploymentType Chaîne N/A
buildNumber Entier N/A
buildDate DateTime N/A
serverTime DateTime N/A
scmInfo Chaîne N/A
serverTitle Chaîne N/A
healthChecks Liste N/A
Users self Chaîne N/A
accountId Chaîne N/A
accountType Chaîne N/A
emailAddress Chaîne N/A
avatarUrls Struct N/A
displayName Chaîne N/A
actif Booléen N/A
timeZone Chaîne N/A
locale Chaîne N/A
groups Struct N/A
applicationRoles Struct N/A
expand Chaîne N/A
Flux de travail workflowName Chaîne "="
expand Chaîne "="
queryString Chaîne "="
orderBy Chaîne "="
isActive Booléen "="
id Struct N/A
description Chaîne N/A
transitions Liste N/A
statuses Liste N/A
isDefault Booléen N/A
schemes Liste N/A
projects Liste N/A
hasDraftWorkflow Booléen N/A
opérations Struct N/A
créé Chaîne N/A
updated Chaîne N/A
Workflow Scheme self Chaîne N/A
id Entier N/A
name Chaîne N/A
description Chaîne N/A
defaultWorkflow Chaîne N/A
issueTypeMappings Struct N/A
originalDefaultWorkflow Chaîne N/A
originalIssueTypeMappings Struct N/A
draft Booléen N/A
lastModifiedUser Struct N/A
lastModified Chaîne N/A
updateDraftIfNeeded Booléen N/A
issueTypes Struct N/A
Workflow Scheme Project Association projectId Entier "="
projectIds Liste N/A
workflowScheme Struct N/A
Workflow Status self Chaîne N/A
description Chaîne N/A
iconUrl Chaîne N/A
name Chaîne N/A
id Chaîne N/A
StatusCategory Struct N/A
Workflow Status Category self Chaîne N/A
id Chaîne N/A
key Chaîne N/A
colorName Chaîne N/A
name Chaîne N/A

Requêtes de partitionnement

Vous pouvez indiquer l’option Spark supplémentaire NUM_PARTITIONS si vous souhaitez utiliser la simultanéité dans Spark. Avec ce paramètre, la requête d’origine serait divisée en NUM_PARTITIONS nombres de sous-requêtes pouvant être exécutées simultanément par les tâches Spark.

  • NUM_PARTITIONS : le nombre de partitions.

Exemple :

jiraCloud_read = glueContext.create_dynamic_frame.from_options( connection_type="JiraCloud", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "issue", "API_VERSION": "v2", "NUM_PARTITIONS": "10" }