Kyoshin
Kyoshin

Reputation: 57

Connect Gerrit to Jira always return 401

Currently, our team using Jira at [https://XXXX.atlassian.net]. I have set up a private Git server with Gerrit review (3.0.3) on it and installed the its-jira plugin to connect to Jira, however it always return 401 error whenever I try to test the connection.

What did I do wrong here? I have read the configuration document at here

its-jira plugin in: https://gerrit-ci.gerritforge.com/job/plugin-its-jira-bazel-stable-3.0/ enter image description here

Upvotes: 1

Views: 433

Answers (1)

gareth_bowles
gareth_bowles

Reputation: 21140

401 means unauthorized, so Gerrit is not accepting your JIRA username and password for some reason. Try

curl -v -u tmtuan@:$PASSWORD https://XXXX.atlassian.net

I'd expect that to fail with 401 as well.

Upvotes: 1

Related Questions