Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,985
Community Members
 
Community Events
176
Community Groups

Link Confulence pages to Insight Objects

Hi all!

I'm currently in the process of implementing Insight Asset Management (Jira Cloud) as the CMDB solution for my Company.

It's all going well so far, but one thing seems to elude me and I can't seem to find answers anywhere; in official docs or community posts.

Quite simply, my definition of a CMDB includes the linking of a suitable knowledge base and the ability to link individual standard operating procedures etc to Configuration Items. My go-to for this was Confulence, seeing how it's in the same suite of software.

When defining schemas for objects I can't seem to find any way to have Confulence pages as an attribute.

The docs here - https://documentation.mindville.com/insight/latest/object-type-attributes-33467203.html - state that for the Confulence attribute to appear you require an application link setup between Jira and Confulence... which we have.

image.png

Yet under the "Default" available attributes for an object in Insight "Confulence" doesn't appear as an option.

 

image.png

 

Any thoughts?

 

 

1 answer

1 vote

Hi @Ben.Clark ,

In Attributes tab, under the Type column you can find Confluence, and in Type Value column choose you confluence site.

ins.jpg

Hi @Parvaneh Zand ,

 

Thanks for the response!

 

Sadly, these are the only attribute types I can see:

 

image.png

I can't help but feel like there's an important setup step I've missed somewhere that's preventing this from appearing.

Like # people like this

Did you ever work out why the link to Confluence wasn't working?

I'm on a Cloud instance and have the same problem :( I think there's a huge difference in what you can achieve from Server instances of Insight.

I have the same problem with Server version of Jira and Cloud version of Confluence.

This is what I have in my logs:

2021-02-25 09:16:15,607+0100 http-nio-8080-exec-139 ERROR anton@<redacted> 556x1667373x1 qkgjlf 80.216.227.99:61129,10.65.8.6 /rest/insight/1.0/objecttypeattributeconfluence/confspaces [c.r.j.p.i.services.confluence.ConfluenceIntegrationServiceImpl] Could not retrieve spaces!
com.atlassian.applinks.api.CredentialsRequiredException: You do not have an authorized access token for the remote resource.
at com.atlassian.applinks.oauth.auth.ThreeLeggedOAuthRequestFactoryImpl.retrieveConsumerToken(ThreeLeggedOAuthRequestFactoryImpl.java:91)
at com.atlassian.applinks.oauth.auth.ThreeLeggedOAuthRequestFactoryImpl.createRequest(ThreeLeggedOAuthRequestFactoryImpl.java:84)
at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(ApplicationLinkRequestFactoryFactoryImpl.java:184)
at com.riadalabs.jira.plugins.insight.services.confluence.ConfluenceIntegrationServiceImpl.findConfluenceSpaces(ConfluenceIntegrationServiceImpl.java:58)
at com.riadalabs.jira.plugins.insight.channel.web.api.rest.services.objecttypeattribute.ObjectTypeAttributeConfluenceResource.findConfluenceSpaces(ObjectTypeAttributeConfluenceResource.java:69)
... 3 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
... 19 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:160)
... 1 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:70)
... 32 filtered
at com.atlassian.servicedesk.internal.web.ExternalCustomerLockoutFilter.doFilter(ExternalCustomerLockoutFilter.java:55)
... 4 filtered
at com.atlassian.jira.plugin.mobile.web.filter.MobileAppRequestFilter.doFilter(MobileAppRequestFilter.java:59)
... 4 filtered
at com.atlassian.jira.plugin.mobile.login.MobileLoginSuccessFilter.doFilter(MobileLoginSuccessFilter.java:54)
... 7 filtered
at com.atlassian.diagnostics.internal.platform.monitor.http.HttpRequestMonitoringFilter.doFilter(HttpRequestMonitoringFilter.java:55)
... 8 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 43 filtered
at com.atlassian.ratelimiting.internal.filter.RateLimitFilter.doFilter(RateLimitFilter.java:73)
... 17 filtered
at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
... 1 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
... 16 filtered
at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:38)
... 3 filtered
at com.atlassian.pats.web.filter.TokenBasedAuthenticationFilter.doFilter(TokenBasedAuthenticationFilter.java:82)
... 19 filtered
at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
... 5 filtered
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:215)
at com.atlassian.servicedesk.internal.api.util.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:136)
at com.atlassian.servicedesk.internal.api.util.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:89)
at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.runOutOfCustomerContext(CustomerContextServiceImpl.java:47)
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:206)
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:134)
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:123)
... 4 filtered
at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:37)
... 8 filtered
at com.atlassian.ratelimiting.internal.filter.RateLimitPreAuthFilter.doFilter(RateLimitPreAuthFilter.java:71)
... 3 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 4 filtered
at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)
... 26 filtered
at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
... 25 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

Calling the url <confluence>/wiki/rest/api/search?cql=type%3Dspace+AND+space.type%3Dglobal in  Postman returns an proper response.

 

The application link have status CONNECTED in both Jira and Confluence.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events