

# Reading from Jira Cloud entities
<a name="jira-cloud-reading-from-entities"></a>

**Prerequisite**

A Jira Cloud object you would like to read from. You will need the object name such as Audit Record or Issue. The following table shows the supported entities.

**Supported entities for source**:


| Entity | Can be filtered | Supports limit | Supports Order by | Supports Select \$1 | Supports partitioning | 
| --- | --- | --- | --- | --- | --- | 
| Audit Record | Yes | Yes | No | Yes | Yes | 
| Issue | Yes | Yes | No | Yes | Yes | 
| Issue Field | No | No | No | Yes | No | 
| Issue Field Configuration | Yes | Yes | No | Yes | Yes | 
| Issue Link Type | No | No | No | Yes | No | 
| Issue Notification Scheme | Yes | Yes | No | Yes | Yes | 
| Issue Security Scheme | No | No | No | Yes | No | 
| Issue Type Scheme | Yes | Yes | Yes | Yes | Yes | 
| Issue Type Screen Scheme | Yes | Yes | Yes | Yes | Yes | 
| Issue Type | No | No | No | Yes | No | 
| Jira Setting | Yes | No | No | Yes | No | 
| Jira Setting Advanced | No | No | No | Yes | No | 
| Jira Setting Global | No | No | No | Yes | No | 
| Label | No | No | No | Yes | Yes | 
| Myself | Yes | No | No | Yes | No | 
| Permission | No | No | No | Yes | No. | 
| Project | Yes | Yes | Yes | Yes | Yes | 
| Project Category | No | No | No | Yes | No | 
| Project Type | No | No | No | Yes | No | 
| Server Info | No | No | No | Yes | No | 
| Users | No | No | No. | Yes | No | 
| Workflow | Yes | Yes | Yes | Yes | Yes | 
| Workflow Scheme | No | Yes | No | Yes | Yes | 
| Workflow Scheme Project Association | Yes | No | No | Yes | No | 
| Workflow Status | No | No | No | Yes | No | 
| Workflow Status Category | No | No | No | Yes | No | 

**Example**:

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

**Jira Cloud entity and field details**:

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/glue/latest/dg/jira-cloud-reading-from-entities.html)

## Partitioning queries
<a name="jira-cloud-reading-partitioning-queries"></a>

You can provide the additional Spark option `NUM_PARTITIONS` if you want to utilize concurrency in Spark. With this parameter, the original query would be split into `NUM_PARTITIONS` number of sub-queries that can be executed by Spark tasks concurrently.
+ `NUM_PARTITIONS`: the number of partitions.

Example:

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