> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/features/workflows/data-sync-workflows/example-syncs/jira-to-smartsheet/auto-update-jira-data-using-formulas.md).

# Auto-update Jira data using formulas

Once you've set up your Jira to Smartsheet sync, you can access your Jira data from other sheets.

{% stepper %}
{% step %}

### Set up your sheet

First, navigate to your sheet of choice and add a column for **Jira Issue Key**.

You'll then need to populate the column with the keys you're looking to reference.

For example, you might be tracking Part Numbers that have Jira tickets associated with them:

<figure><img src="/files/CuPbPnoWmV18cApvWnif" alt="" width="563"><figcaption></figcaption></figure>

You can then use the INDEX and MATCH formulas to populate other columns.

Let's update the **Status** column according to the associated Jira key.
{% endstep %}

{% step %}

### Start an INDEX formula

In the first row of the **Status** column, type `=INDEX(` , then click **Reference Another Sheet** to select your `range`.

<figure><img src="/files/QnlF6mf5E4WGvgcqERhJ" alt="" width="375"><figcaption></figcaption></figure>

In the popup window, find your **Jira** reference sheet, select the Jira **Key** and **Status** columns, and click **Insert Reference.**

<figure><img src="/files/6cghGZOCpFCB4vTS1eNY" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### For the row, use the MATCH formula

For the `row_index`, you'll use another formula: **MATCH**. This will identify the row in your search range that corresponds to the Jira key specified.

Type `MATCH([Jira Issue Key]@row,` to specify the search value.

Then click **Reference Another Sheet** to specify the range.

<figure><img src="/files/QlpptnbpYOA4lqF6xBRX" alt="" width="563"><figcaption></figcaption></figure>

In the popup window, select the same Jira **Key** and **Status** columns and select **Insert.**

Close your MATCH formula with a final parenthesis.
{% endstep %}

{% step %}

### Finish your INDEX formula

Last, specify the `column_index` of your INDEX formula: 2. This tells the formula to look in the second column of your search range for the value, which is **Status.** Close your INDEX formula, and you should see your first Status appear.&#x20;

Select the cell and drag down to populate the rest of the column.

<figure><img src="/files/SPj6IOGqUx6q3ZejHzdh" alt="" width="563"><figcaption></figcaption></figure>

You're done!
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.violetlabs.com/features/workflows/data-sync-workflows/example-syncs/jira-to-smartsheet/auto-update-jira-data-using-formulas.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
