R

Tuesday, May 24th, 2022 2:21 PM

Jira Spring Boot Framework

@spring-team.collibra.com

Does the Jira-Collibra marketplace springboot framework supports Key and Cert authentication to Jira ?

Thank You

Rahul

368 Messages

3 years ago

Hello @rahul.channe.1 ,

Thanks for trying the Jira to Collibra Spring Boot intergation.

Currently, this integration only supports authenticating with Jira Cloud using the username and an API key. (Key and Certificate authentication is not supported.)

To create an API token you can visit https://id.atlassian.com/manage-profile/security/api-tokens and then select the “Create API token” button. For more information, you can refer to this page.

Subsequently, you need to set the following Jira properties in the src/main/resources/application.properties file:

  • jira.rest.api.url - the Jira Cloud instance URL. Format: https://<subdomain>.atlassian.net/rest/api/3
  • jira.rest.api.auth.username - the Jira username/email address
  • jira.rest.api.auth.password - the generated API token

10 Messages

3 years ago

Thank You for your response, we will check and proceed as suggested.

47 Messages

 • 

1.7K Points

11 months ago

@spring-team.collibra.com we get the following issue. Could you please help us investigate, how to solve it?

At the moment, there is an issue (UPD 23rd Jan 2023: this error message is not relevant anymore):

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2024-01-12 12:25:47,083 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘scheduledProcessor’ defined in URL [jar:file:/home/collibradev/apache-maven-3.9.6/sbi-jira-service-desk-1.0.3.jar!/BOOT-INF/classes!/com/collibra/marketplace/jira/sd/processor/ScheduledProcessor.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘integrationService’ defined in URL [jar:file:/home/collibradev/apache-maven-3.9.6/sbi-jira-service-desk-1.0.3.jar!/BOOT-INF/classes!/com/collibra/marketplace/jira/sd/service/IntegrationService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘exportCollibraConfig’ defined in URL [jar:file:/home/collibradev/apache-maven-3.9.6/sbi-jira-service-desk-1.0.3.jar!/BOOT-INF/classes!/com/collibra/marketplace/jira/sd/component/collibra/ExportCollibraConfig.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘collibraExportApiHelper’ defined in URL [jar:file:/home/collibradev/apache-maven-3.9.6/sbi-jira-service-desk-1.0.3.jar!/BOOT-INF/lib/collibra-integration-library-1.1.9.jar!/com/collibra/marketplace/library/integration/CollibraExportApiHelper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘internalSharedLibraryConnection’: Invocation of init method failed; nested exception is com.collibra.marketplace.library.integration.exception.CollibraIntegrationLibraryException: {“message”:“An unexpected error occurred during execution.”,“details”: “The string ““https” for the URI component SCHEME contains an invalid character, '”’, at index 0.”}

It seems that somehow URL should be adjusted. When https has been removed, another error appeared - not absolute path.

47 Messages

 • 

1.7K Points

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

47 Messages

 • 

1.7K Points

11 months ago

@spring-team.collibra.com (UPD 24th Jan 2024: this error message is not relevant anymore) we are trying out JIRA integration with webhooks.

Now we get the following error message, @spring-team.collibra.com can you please help us to investigate?

2024-01-19 12:35:31,538 [scheduling-1] INFO com.collibra.marketplace.jira.sd.processor.ScheduledProcessor - Synchronization triggered false via CRON Scheduler
2024-01-19 12:35:31,538 [scheduling-1] INFO com.collibra.marketplace.jira.sd.service.IntegrationService - Started synchronizing From Collibra to Jira Service Desk
2024-01-19 12:35:32,655 [scheduling-1] ERROR org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task
com.collibra.marketplace.jira.sd.exception.JiraException: Failed to retrieve Jira No Configuration Asset Found

47 Messages

 • 

1.7K Points

11 months ago

Another issue appeared. Here is the current error:

2024-01-24 09:42:58,281 [scheduling-1] ERROR org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task
org.springframework.web.reactive.function.UnsupportedMediaTypeException: Content type ‘text/html;charset=UTF-8’ not supported for bodyType=com.collibra.marketplace.jira.sd.model.jira.response.IssueTypeResponse
at org.springframework.web.reactive.function.BodyExtractors.lambda$readWithMessageReaders$12(BodyExtractors.java:201) ~[spring-webflux-5.3.22.jar!/:5.3.22]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
*__checkpoint Body from GET https://daiichisankyoeurope.atlassian.net/rest/servicedeskapi/requesttype [DefaultClientResponse]

@spring-team.collibra.com the error above looks similar to the following post in data citizens community. Could you please help us?
Collibra to Jira service desk - Integrations - the Data Citizens community

40 Messages

Hi Nuriia,

I encountered exactly the same error. The reason being is that you get 403 Forbidden response (or some other error). You need to check that Jira Service Management is enabled on your JIRA instance ;).

Best regards,

Max

Loading...