backstage-plugins icon indicating copy to clipboard operation
backstage-plugins copied to clipboard

JIRA Project not found when Backstage run in dockerized mode

Open ajay-shenoy opened this issue 1 year ago • 4 comments

JIRA Project not found when Backstage run in dockerized mode.

image

{"level":"info","message":"[06/Dec/2024:17:32:32 +0000] \"GET /api/jira-dashboard/dashboards/by-entity-ref/component/default/backstage-test-project HTTP/1.1\" 404 48 \"-\" \"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0\"","service":"rootHttpRouter","type":"incomingRequest"}

"@axis-backstage/plugin-jira-dashboard": "^1.14.0", "@axis-backstage/plugin-jira-dashboard-backend": "^4.1.0",

ajay-shenoy avatar Dec 06 '24 17:12 ajay-shenoy

I would check that you have the correct token. If I remember correctly Jira will not returns any errors is there is no token set, it will just return whatever an anonymous user can view.

anicke avatar Dec 09 '24 13:12 anicke

@anicke It does work in a non-dockerized setup. Even hardcoded the tokens within app-config.yaml to check if its an environment variable specific issue, but still got the same error.

ajay-shenoy avatar Dec 10 '24 13:12 ajay-shenoy

Hi @ajay-shenoy! We can't reproduce this issue but would like to know how it's going for you? :slightly_smiling_face:

fridajac avatar Dec 18 '24 13:12 fridajac

@fridajac The issue still exists. Can you share details on how did you run in a dockerized setup. Will follow the same steps and see if I missed anything.

ajay-shenoy avatar Dec 18 '24 15:12 ajay-shenoy

@ajay-shenoy were you able to resolve this. We are getting the same error with our Backstage running in docker. I have been trying various token parameters to no luck.

Cord-Thomas avatar Jun 10 '25 23:06 Cord-Thomas

Hi @ajay-shenoy and @Cord-Thomas!

Sorry that we haven't been able to help you resolve this issue. I'll ask anicke once he is back from vacation, because I'm not sure how to help you. Hopefully we can provide you with some more info then.

//Frida

fridajac avatar Jul 23 '25 12:07 fridajac