Lombiq / GitHub-Actions

Reusable GitHub Actions workflows and actions used in Lombiq project, mostly with Orchard Core.
BSD 3-Clause "New" or "Revised" License
4 stars 9 forks source link

Migrate auto-resolve-done-jira-issue and create-jira-issues-for-community-activities to use API Key Manager for Jira (OSOE-726) #277

Open Piedone opened 1 year ago

Piedone commented 1 year ago

This supersedes https://github.com/Lombiq/GitHub-Actions/issues/275.

Our auto-resolve-done-jira-issue and create-jira-issues-for-community-activities actions use the now unmaintained gajira* actions, so we need to do something to migrate away from them. Furthermore, they need an Atlassian API token to work, which allows you to do everything the user account corresponding to that token can do. This is a problem, because (until Jira guest users are available, if ever) you need to create a separate (paid) Jira user for every use case if you don't want to expose excessive access to your Jira instance.

The API Key Manager for Jira extension lets you manage more restricted API access, so we should use that:

Jira issue

Piedone commented 11 months ago

For API Key Manager to be more secure overall than a standard API token created under a user account just for this (with access just to selected projects), we need the following features:

Piedone commented 9 months ago

Updates from the developers:

"Ability to restrict a key to create issues only in a single project" is a deal breaker for us.

Piedone commented 9 months ago

Re #2 above, yes, this is the case. Thus, we can't use API Key Manager. We thus need to table this and get back to https://github.com/Lombiq/GitHub-Actions/issues/275.