---
title: "How to configure a custom cookie in Jira Data Center"
canonical: "https://support.appfire.com/space/SUPPORT/89132821/How%20to%20configure%20a%20custom%20cookie%20in%20Jira%20Data%20Center"
format: markdown
---
<span style="color: #333333">This article explains how to configure a custom cookie using the </span>*<span style="color: #333333">Jira Command Line Interface (CLI)</span>*<span style="color: #333333"> app in Jira Data Center.</span>

## <span style="color: #333333">Instructions</span>

<span style="color: #333333">In general, when using the </span>*<span style="color: #333333">Jira Command Line Interfac</span>*<span style="color: #333333">e (CLI</span>*<span style="color: #333333">)</span>*<span style="color: #333333"> app in Jira Data Center, </span><span style="color: #333333">CLI validates</span><span style="color: #333333"> by looking for the default cookie </span>**<span style="color: #333333">JSESSIONID</span>**<span style="color: #333333">. However, if the client has their own customized cookie configured in Load Balancer, then they have to use the below mentioned CLI option </span><span style="color: #333333">to work properly</span><span style="color: #333333"> i.e., include this option in your CLI command:</span>

```
--options customCookieKey= <MyKey>
```

<span style="color: #333333">Replace </span><u><span style="color: #333333">MyKey</span></u><span style="color: #333333"> with the </span><u><span style="color: #333333">custom cookie value</span></u><span style="color: #333333"> and then run the CLI actions.</span>