question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Backstage jira proxy's URL with undefined as project value

See original GitHub issue

Hi everyone.

I’m currently testing Backstage for my company, and I tried various integrations like Github, Jira, Jenkins and more. But I’m facing an issue with the Jira plugin. Maybe it’s just a bad setup.

I already search any hint to help me to fix this, but all those places are a copy/paste of the jira plug-in’s README.

Expected Behavior

I guess the URL for the proxy should be “http://localhost:7007/api/proxy/jira/api/rest/api/latest/project/{PROJECT_KEY}

Current Behavior

In my component, I can see the Jira entity, but every time, it says “failed to fetch data, status 404: Not Found”. When I look in the browser’s console (network), I can see this 404, and this is the query “http://localhost:7007/api/proxy/jira/api/rest/api/latest/project/undefined”. Why do I have “undefined”? Is it because the jira/project-key variable is not at the right place? Actually it’s in the catalog-info.yaml, under metadata.

I tested my jira’s token with postman and everything seem to be ok.

Steps to Reproduce

Open any component, and check the Jira entity tosee the 404 and in the browser’s console (network) to find the url with undefined jiraEntity BrowserConsoleHeader BrowserConsoleResponse

Your Environment

Everything was cloned/installed tuesday 11 january 2022, so it should be the latest version for everything.

  • @backstage/plugin-catalog-react version: 0.6.10
  • @roadiehq/backstage-plugin-jira version: 1.4.3

If some information is missing, let me know, I will do my best to provide them.

Thanks in advance.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
chapit-nicolascommented, Jan 17, 2022

Hi @Irma12 Thanks for the confirmation and the documentation. Everything is ok on our side now.

I will close this issue 😃 Thanks again.

0reactions
Irma12commented, Jan 17, 2022

@chapit-nicolas No problem, I am glad it worked, and hope you will enjoy your Backstage experience 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Writing Backstage Configuration Files
To view the configuration reference for your own project, including what ... baseUrl value, set the APP_CONFIG_app_baseUrl environment variable to the ...
Read more >
Plugin unable to authenticate to Jira Server #30 - GitHub
When i take out the Basic i get a response saying it cannot find my project. I enabled https for backstage and added...
Read more >
Ticket URLs rediredcting to invalid paths for some users
When they try and load the ticket by direct URL (or by clicking on a link to it in some other Jira page)...
Read more >
Jira integration in Backstage giving 404 error - Stack Overflow
Ok, I found the solution. In the documentation, the file, called catalog-info. yaml, is not the one at the Backstage repository's root, but...
Read more >
Backstage Jira Plugin - Roadie.io
The Backstage Jira plugin integrates with Jira to show Jira information inside Backstage where it can be associated with your project.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found