Jira and Fisheye/Crucible Integration
Asked by Erhan Nac?r:

I try everyhing but jira issue not have fisheye "source" tab.

Please help me as soon as possible


Answers:
author: Thomas Deiler
body: Dear [@Erhan Nac?r](/t5/user/viewprofilepage/user-id/1190350),

when you want that the community helps you as son as possible, then you should provide more information about your current setting, like server configuration, log file extracts or some screen shots.

Please do this as soon as possible!

Thomas

comments: author: Erhan Nac?r
body: 2018-02-23 11:12:32,803 JIRA-EventThread-60 WARN erhan.nacir 672x1466x1 1k44bi3 10.10.14.104 /rest/applinks/3.0/applicationlinkForm/manifest.json \[c.a.a.internal.capabilities.DefaultRemoteCapabilitiesService\] Exception trying to get Applink for manifest with ID 9ae675b8-d725-34b9-90c8-7a5e93133ccf  
2018-02-23 11:12:34,468 http-nio-8080-exec-1 WARN erhan.nacir 672x1468x1 1k44bi3 10.10.14.104 /rest/applinks/3.0/applicationlink \[c.a.j.config.fisheye.FishEyeInstanceManagerImpl\] Request to '<http://kod.medisoftweb.com:8060/rest-service-fe/server-v1>' returned status code 401. Assuming FishEye+Crucible both available  
2018-02-23 11:12:34,698 http-nio-8080-exec-1 WARN erhan.nacir 672x1468x1 1k44bi3 10.10.14.104 /rest/applinks/3.0/applicationlink \[c.a.j.domain.fisheye.FishEyeManagerImpl\] Error encountered resolving Crucible projects for <http://kod.medisoftweb.com:8060/>  
java.io.IOException: Error in remote call to 'kod' (<http://kod.medisoftweb.com:8060>) \[AbstractRestCommand{path='rest-service/projects-v1', params={excludeAllowedReviewers=true}, methodType=GET}\] : Received status code 404 (Crucible is not enabled)


author: Erhan Nac?r
body: 2018-02-23 11:12:34,863 http-nio-8080-exec-1 WARN erhan.nacir 672x1468x1 1k44bi3 10.10.14.104 /rest/applinks/3.0/applicationlink \[c.a.j.domain.fisheye.FishEyeManagerImpl\] Error encountered resolving Crucible projects for <http://kod.medisoftweb.com:8060/>  
java.io.IOException: Error in remote call to 'kod' (<http://kod.medisoftweb.com:8060>) \[AbstractRestCommand{path='rest-service/projects-v1', params={excludeAllowedReviewers=true}, methodType=GET}\] : Received status code 404 (Crucible is not enabled)


author: Erhan Nac?r
body: at com.atlassian.jirafisheyeplugin.rest.FishEyeRestApiManagerImpl.callFisheye(FishEyeRestApiManagerImpl.java:178)  
... 281 more  
2018-02-23 11:12:42,928 http-nio-8080-exec-6 WARN erhan.nacir 672x1483x1 1k44bi3 10.10.14.104 /rest/applinks/3.0/applicationlink/9ae675b8-d725-34b9-90c8-7a5e93133ccf/authentication/provider \[c.a.j.config.fisheye.FishEyeInstanceManagerImpl\] Request to '<http://kod.medisoftweb.com:8060/rest-service-fe/server-v1>' failed due to missing OAuth credentials. Assuming FishEye+Crucible both available  
com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource.


author: Erhan Nac?r
body: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)  
at java.lang.Thread.run(Thread.java:745)  
2018-02-23 11:12:42,964 http-nio-8080-exec-16 WARN erhan.nacir 672x1489x4 1k44bi3 10.10.14.104 /rest/applinks/3.0/status/a39dcd82-0f43-359f-8c40-7808f1e84b0b \[c.a.a.i.migration.remote.TryWithCredentials\] You do not have an authorized access token for the remote resource.  
2018-02-23 11:12:43,213 http-nio-8080-exec-3 WARN erhan.nacir 672x1494x2 1k44bi3 10.10.14.104 /rest/applinks/3.0/applicationlink/9ae675b8-d725-34b9-90c8-7a5e93133ccf/authentication/provider \[c.a.j.config.fisheye.FishEyeInstanceManagerImpl\] Request to '<http://kod.medisoftweb.com:8060/rest-service-fe/server-v1>' failed due to missing OAuth credentials. Assuming FishEye+Crucible both available  
com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource.


author: Erhan Nac?r
body: jira logs


author: Thomas Deiler
body: Dear [@Erhan Nac?r](/t5/user/viewprofilepage/user-id/1190350),

can you verify on both application if the **Application Link** is working properly?

So long

Thomas


author: Erhan Nac?r
body: Both application status is connected.


author: Thomas Deiler
body: > failed due to missing OAuth credentials. Assuming FishEye+Crucible both available  
> com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource.

This says something different.

Unlink the apps and try again to re-link them.

So long

Thomas


author: Erhan Nac?r
body: I forgot the number of re-link

Thanks


author: Thomas Deiler
body: Don't get it. What was the root cause? Please tell us so that others can learn.

Thanks

Thomas