fourplusone / terraform-provider-jira

Terraform provider to configure JIRA
https://registry.terraform.io/providers/fourplusone/jira/latest
MIT License
180 stars 54 forks source link

Data Sources..? :) #62

Open itspngu opened 2 years ago

itspngu commented 2 years ago

I'm not too sure if there are some internal limitations around the JIRA API, would it be possible to expose some more data sources to go with the resources the provider defines, as well as some higher-level ones, e.g. a datasource for all projects? Consuming data from JIRA and then using it to Terraform other stuff (as opposed to managing JIRA itself) seems like a use-case that's been overlooked so far.

A specific example would be fetching a list of available project keys from JIRA and then setting up "Autolink References" on all repositories under a Github organization.

If you're open to a contribution tackling this issue I'd definitely do some research and see if I'm up to the task.

fourplusone commented 2 years ago

Hi @itspngu This sounds like an interesting addition to the terraform provider :)

itspngu commented 2 years ago

I'll have a look at the JIRA API docs & familiarize myself with the provider codebase, see how far I get, no promises though. Just wanted to make sure this is within the project's scope before putting work into it.