airbytehq / airbytehq/airbyte

[source-jira] don't use projects stream if projects are already specified

Open
#64,892 1 comment 0 reactions 0 assignees View on GitHub
area/connectors autoteam community connectors/source/jira needs-triage team/extensibility type/bug
Dominant language
Python
Stars
22.1k
Forks
5.3k
PR merge metrics
PR metrics pending

Description

### Connector Name

source-jira

### Connector Version

4.2.3

### What step the error happened?

Configuring a new connector

### Relevant information

The API Token I have access to doesn't have the permission to browse projects. This is the API Route: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-search-get

I *know* which Project I want though and have it input into the Projects field when setting up the connector. Setting up the project fails though, because the connector seems to want to list projects anyway and errors because it doesn't have permission.

Two fixes could be
1. The connector doesn't try to list all projects if there are already specific projects specified in its configuration or
2. The connector doesn't error out the setup just because it can't list projects.

### Relevant log output

```shell
Configuration check failed

"Stream projects is not available: Forbidden. You don't have permission to access this resource."
```

### Contribute

- [ ] Yes, I want to contribute

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.