# jco-issue

## Description

With the jco-issue shortcode you can display a single Jira issue on your page or post. You can select between three different formats.

## Examples and Outputs <a href="#examples-and-outputs" id="examples-and-outputs"></a>

{% code overflow="wrap" %}

```
[jco-issue host="1071" key="LSD-56" format="button"]
```

{% endcode %}

<figure><img src="https://739919931-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQyqhXpUcAdSvpEMskTcv%2Fuploads%2FZvGh8QRGxoKZbAjoCg7N%2Fjira-issue-button-768x31.png?alt=media&#x26;token=d086cc13-d3c8-4f29-a532-94ef4a7083ff" alt=""><figcaption></figcaption></figure>

{% code overflow="wrap" %}

```
[jco-issue host="1071" key="ADMIN-1001" format="panel"]
```

{% endcode %}

<figure><img src="https://739919931-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQyqhXpUcAdSvpEMskTcv%2Fuploads%2Ffsyfhg5pfHiT9GOMtJOK%2Fjira-issue-panel-768x137.png?alt=media&#x26;token=146eac65-26c0-4ed1-944e-48e8f5ddfd3b" alt=""><figcaption></figcaption></figure>

{% code overflow="wrap" %}

```
[jco-issue host="1071" key="LSD-56" format="inline"]
```

{% endcode %}

<figure><img src="https://739919931-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQyqhXpUcAdSvpEMskTcv%2Fuploads%2FEu1niGsVClJoYWxLJczJ%2Fjira-issue-inline.png?alt=media&#x26;token=dd202bc6-d031-41c4-b35a-048d2de7d501" alt=""><figcaption></figcaption></figure>

## Format

{% code overflow="wrap" %}

```
[jco-issue parameter="value" ...]
```

{% endcode %}

## Parameters

| Parameter   | Description                                                                                                                                                                             | Default    |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| color       | <p>Custom color for the badge.</p><p>Overwrites the global setting for this shortcode.</p>                                                                                              | *no value* |
| description | <p>The amount of characters to show from the description of the Jira issue.</p><p>Only works with <em>format = panel .</em></p><p>Overwrites the global setting for this shortcode.</p> | 240        |
| format      | <p>Display format for this Jira issue:</p><ul><li>button</li><li>inline</li><li>panel</li></ul>                                                                                         | button     |
| host        | <p><mark style="color:red;"><strong>\*</strong></mark> Mandatory.</p><p>The post ID of the Jira host</p>                                                                                | *no value* |
| key         | <p><mark style="color:red;"><strong>\*</strong></mark> Mandatory.</p><p>The Jira issue key</p>                                                                                          | *no value* |
| outline     | <p>If set to 1 or true, no fill color is used.</p><p>Only works with <em>format = button</em></p>                                                                                       | false      |
| summary     | The amount of characters to show from the summary of the Jira issue.                                                                                                                    | 40         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lewe.gitbook.io/lewe-jira-connector-for-wordpress/shortcodes/jco-issue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
