> For the complete documentation index, see [llms.txt](https://docs.silessian.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.silessian.com/planapply-for-jira-cloud/terraform-provider-for-jira-cloud/terraform-provider-for-jira-cloud/atlcloudjira_filter-resource.md).

# atlcloudjira\_filter (Resource)

## Example Usage

```terraform
import {
  to = atlcloudjira_filter.SampleFilterResource
  id = 10004
}

# __generated__ by Terraform
# Please review these resources and move them into your main configuration files.

# __generated__ by Terraform from "10004"
resource "atlcloudjira_filter" "SampleFilterResource" {
  description = "Lorem ipsum"
  edit_permissions = [
    {
      config = {
        group_id        = ""
        project_id      = ""
        project_role_id = ""
        type            = "user"
        user_id         = "5fde5ea73b5e47013845900a"
      }
    },
    {
      config = {
        group_id        = ""
        project_id      = "10000"
        project_role_id = ""
        type            = "project"
        user_id         = ""
      }
    },
    {
      config = {
        group_id        = ""
        project_id      = "10049"
        project_role_id = ""
        type            = "project"
        user_id         = ""
      }
    },
    {
      config = {
        group_id        = "b9ae8124-347d-4c67-ac4a-f4e8c491756d"
        project_id      = ""
        project_role_id = ""
        type            = "group"
        user_id         = ""
      }
    },
  ]
  jql      = "created >= -31d order by status DESC, created DESC"
  name     = "My Personal Filter 01"
  owner_id = "80dacb68-6f79-46c6-b22e-296669e36568"
  share_permissions = [
    {
      config = {
        group_id        = ""
        project_id      = ""
        project_role_id = ""
        type            = "user"
        user_id         = "557058:950f9f5b-3d6d-4e1d-954a-21367ae9ac75"
      }
    },
  ]
}
```

## Schema

### Required

* `name` (String) The name of the filter. Must be unique.
* `owner_id` (String) The account ID of user who owns the filter.

### Optional

* `description` (String) A description of the filter.
* `edit_permissions` (Attributes Set) The groups and projects that can edit the filter. (see [below for nested schema](broken://pages/U58KBmihzBkUZOmDmgQ7))
* `jql` (String) The JQL query for the filter.
* `share_permissions` (Attributes Set) The groups and projects that the filter is shared with. (see [below for nested schema](broken://pages/U58KBmihzBkUZOmDmgQ7))

### Read-Only

* `id` (Number) The unique identifier for the filter.
* `last_updated` (String) Timestamp of the last Terraform update of the Filter.

### Nested Schema for `edit_permissions`

Optional:

* `config` (Map of String)

### Nested Schema for `share_permissions`

Optional:

* `config` (Map of String)
