openscientia / terraform-provider-atlassian

Terraform ATLASSIAN Provider
https://registry.terraform.io/providers/openscientia/atlassian/latest
Mozilla Public License 2.0
5 stars 2 forks source link

New resource: `atlassian_jira_status` #113

Closed iacabezasbaculima closed 1 year ago

iacabezasbaculima commented 2 years ago

Terraform CLI and Provider Versions

na

New or Affected Resource(s)

Use Cases or Problem Statement

Add new resource atlassian_jira_status to enable users to do the following:

Docs: https://support.atlassian.com/jira-cloud-administration/docs/what-are-issue-statuses-priorities-and-resolutions/#Issue-statuses API Reference: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-status/#api-group-status

Proposal

# Add Terraform configurations here
resource "atlassian_jira_status" "this" {}

How much impact is this issue causing?

High

Additional Information

Relates #114

Code of Conduct

iacabezasbaculima commented 2 years ago

The current release v1.4.3 of go-atlassian does not implement API endpoints to manage a Jira status.

Submit a feature request in go-atlassian repository, waiting for next release that will include the required functionality.

https://github.com/ctreminiom/go-atlassian/issues/140

iacabezasbaculima commented 2 years ago

New release v1.4.4 of go-atlassian now provides an API to manage Jira workflow statuses.

iacabezasbaculima commented 1 year ago

There are two Jira API groups with endpoints to interact with statuses.

Decision has been made to implement the API group that provides full CRUD endpoints instead.

i.e. https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-status/#api-group-status