Jump to content

JIRA plug


Gwanhir

Recommended Posts

Hello,

I'm starting with devops and try to get around it with the trunkbot. I successfully create my own notification plug to use our internal chat system and configured the CI (Jenkins) plug. But I'm stuck with the Jira plug configuration.

We use Jira cloud and I can't make it work. I use the token API as specified in the documentation. For the user I tried with the email, name, user name, lowercase, uppercase, space between, no spaces. Nothing works.

I have an idea on how to use all the powerful tools available but sadly as Jira won't work, it may not be possible.

Any idea what I'm doing wrong?

Thanks,

Cyril.

Link to comment
Share on other sites

Hi,

Just to clarify the problem is when trying to configure the JIRA plug in the webadmin panel, right?

Are you following the instructions from: http://127.0.0.1:7178/devops/plugs/types/jenkins/info ?  I don't see any reference to the token API. Where are you reading it?

 

PD: The following link explains how you can configure JIRA as issue tracker for Plastic but if I properly understand this is not what you actually want. You are just configuring the JIRA plug for devops purposes.

https://www.plasticscm.com/documentation/extensions/plastic-scm-version-control-task-and-issue-tracking-guide#JIRAintegration

Regards,

Carlos.

Link to comment
Share on other sites

Hi,

Yes, I use the webadmin panel to configure my JIRA plug. I assume you talk about jira: http://127.0.0.1:7178/devops/plugs/types/jira/info (instead of jenkins!).

Here is a screenshot of me current configuration :

image.thumb.png.b9f24aae463c46961bbfafd1a8f804ad.png

 

and when I start the plug, it turns off itself. Looking at the log on the server for this plug, I found this issue :

Quote

2019-09-12 09:39:52,116 ERROR JiraRestClient - Check Connection: Could not get info about the configured user.URL: [https://************.atlassian.net/rest/api/2/myself]. User: [********************.com]. Message:[Error: SecureChannelFailure (The authentication or decryption has failed.)]
2019-09-12 09:39:52,122 ERROR jiraplug - Error: Unable to contact Jira Server [https://************.atlassian.net] using the specified credentials for user [********************.com]. Are you using Jira Cloud? If so, did you properly configure a Jira API token for user [********************.com] and set it in the JiraPlug password/API Token configuration field?

But I'm sure it's the good API Token. I tried to change the user as said before but nothing works.

If it helps, the server is on a Ubuntu 18.04 server at version 8.0.16.3533.

I can confirm you that the JIRA configuration stuff is not the issue here (adding the custom field and so on...).

 

Thanks for the reply,

Cyril.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...