Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIRA Plugin 404 error #1200

Open
buaydin opened this issue Jan 11, 2024 · 3 comments
Open

JIRA Plugin 404 error #1200

buaydin opened this issue Jan 11, 2024 · 3 comments

Comments

@buaydin
Copy link

buaydin commented Jan 11, 2024

I follow the document for backstage jira plugin and made the configurations.
https://roadie.io/backstage/plugins/jira/
I'm getting failed to fetch data, status 404: Not Found error on Components UI Page.
Also I'm getting a warning about proxy.endpoints.
proxy warn Configuring proxy endpoints in the root 'proxy' configuration is deprecated. Move this configuration to 'proxy.endpoints'
my app-config.yaml file;
proxy:
'/jira/api':
target: 'jira.intertech.com.tr'
headers:
Authorization:
$env: JIRA_TOKEN
Accept: 'application/json'
Content-Type: 'application/json'
X-Atlassian-Token: 'nocheck'
User-Agent: "MY-UA-STRING"
When I switch my configuration to use proxy.endpoints. yaml gives errors that it's expection Authorization to be string. When I use this configuration I'm getting 401 Unauthorized error. Am I missing something? Is that document still valid?

proxy:
endpoints:
'/jira/api':
target: 'https://jira.intertech.com.tr'
headers:
Authorization: 'Basic '
Accept: 'application/json'
Content-Type: 'application/json'
X-Atlassian-Token: 'nocheck'
User-Agent: "MY-UA-STRING"

csp:
connect-src: ["'self'", 'http:', 'https:']
img-src:
# "'self'" and 'data' are from the backstage default but must be set since img-src is overriden
- "'self'"
- 'data:'
# Allow your Jira instance for @roadiehq/backstage-plugin-jira
- 'https://jira.intertech.com.tr'

@roadie-bot
Copy link
Collaborator

@buaydin
Copy link
Author

buaydin commented Jan 11, 2024

My components.yaml file;

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: TildaTestApi
annotations:
sonarqube.org/project-key: DevTildaTestApi
jenkins.io/job-full-name: V2_GIT/TildaTestApi
jira/project-key: ITSM
links:

@eniskurtayyilmaz
Copy link

Hey,

I got the same case, and I suspect the doc is outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants