Lecture depuis les entités Jira Cloud - AWS Glue

Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.

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.
Project 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
Utilisateurs 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": "v3" }

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