A JIRA Portlet that can display a single Confluence page (just the content, not the app chrome) and an edit link. User can configure Confluence instance, space and page which is displayed in the JIRA's dashboard portlet.
Portlet is great for showing company news from Confluence or showing selected RSS feed nicely formatted by the Confluence.
Usage
Install the plugin by downloading the plugin JAR
Place the downloaded JAR file to <JIRA>/atlassian-jira/WEB-INF/lib folder
Confluence username is the username that you use for Confluence
Password for Confluence should match your password for Confluence
Confluence space key is a key for the Confluence Space where selected page is located in. e.g. Demonstration Space has a key "ds". This can be seen from URL address or from space administration view.
Confluence page title is a page title that should be shown. Page should locate in the space that was defined with the space key.
Click "Save" to save your configuration
Now you should be viewing a portlet that contains Confluence page content.
Examples
Here is an example where user will create a "Hello World" Confluence page and display it on the JIRA dashboard portlet:
Nice idea! However, there is a restriction in that normal linking on the Conflue...
Nice idea! However, there is a restriction in that normal linking on the Confluence page does not work. For instance, a page reference link fails since the page uses links like href="/display/spacekey/page+name" which are not found on the jira server. Unless you know of away around this, it limits the type of page that could be shown this way.
Thanks! Normal page linking works with this plugin. I noticed this problem while...
Thanks! Normal page linking works with this plugin. I noticed this problem while developing the plugin and I solved it by simply replacing all href="/ with href="<confluenceurl>/. Same problem occurs also with the icons but I solved it the same way.
Did you download the JAR from my homepage? My homepage had the old version. This...
Did you download the JAR from my homepage? My homepage had the old version. This page contains the latest version 1.0.1 that should include the fix. Can you check what the version is in your JAR filename? It should be confluence-page-portlet-1.0.1.jar
I removed the downloads from my homepage and pointed the link to this page as it is easier to update the version only to one place.
Would be great if this could work using the new trusted protocol... so you didn'...
Would be great if this could work using the new trusted protocol... so you didn't put a password in, and it used the credentials of the user currently logged in to jira.
Hi Guys, I was testing out this portlet on a JIRA 3.12 instance today and came a...
Hi Guys,
I was testing out this portlet on a JIRA 3.12 instance today and came across a major problem. If confluence is down, the portlet causes the JIRA dashboard containing the portlet to not display itself thus rendering JIRA basically unusable. Shouldn't it have some sort of error message that is displayed telling you that the link to confluence is down or not accessible?
I got the following in JIRA when I tried it in our Production environment where ...
I got the following in JIRA when I tried it in our Production environment where JIRA and Confluence are on different servers:
"Error while loading Confluence page. Check configuration and/or log files."
When I checked the "stdout_20070527.log" file I found this portion of the entry:
"http-8080-Processor29 WARN [atlassian.seraph.auth.DefaultAuthenticator] User: tried to login but they do not have USE permission or weren't found. Deleting cookie.
Avoiding obscuring previous error by supressing error encountered while ending request: org.apache.xmlrpc.XmlRpcClientException: Exception closing URLConnection
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
...."
I am quite sure I used the correct username and password, and the required Confluence url, spacekey, and page title.
Plugin working great in JIRA v3.12.3 with Confluence 2.9. Couple of questions 1)...
Plugin working great in JIRA v3.12.3 with Confluence 2.9. Couple of questions
1) Is the issue identified above by Ben where the JIRA dashboard doesn't render at all if confluence is unavailable now fixed? I noticed that you get a properly rendered error if the wrong user credentials are supplied in the configuration of the portlet.
2) Is there any way to remove the [Edit] option either conditionally based on user security access or as an option on the configuration of the portlet.
Finally, I'd second Jamie's comment above regarding trusted application support although I'm not sure if this is supported when pulling information from Confluence into JIRA rather than the other way around.
Comments (14)
May 16, 2007
Bob Swift says:
Nice idea! However, there is a restriction in that normal linking on the Conflue...Nice idea! However, there is a restriction in that normal linking on the Confluence page does not work. For instance, a page reference link fails since the page uses links like href="/display/spacekey/page+name" which are not found on the jira server. Unless you know of away around this, it limits the type of page that could be shown this way.
May 16, 2007
Tommi Laukkanen says:
Thanks! Normal page linking works with this plugin. I noticed this problem while...Thanks! Normal page linking works with this plugin. I noticed this problem while developing the plugin and I solved it by simply replacing all href="/ with href="<confluenceurl>/. Same problem occurs also with the icons but I solved it the same way.
May 16, 2007
Bob Swift says:
Well, its not working in our installation.Well, its not working in our installation.
May 17, 2007
Tommi Laukkanen says:
Did you download the JAR from my homepage? My homepage had the old version. This...Did you download the JAR from my homepage? My homepage had the old version. This page contains the latest version 1.0.1 that should include the fix. Can you check what the version is in your JAR filename? It should be confluence-page-portlet-1.0.1.jar
I removed the downloads from my homepage and pointed the link to this page as it is easier to update the version only to one place.
May 17, 2007
Bob Swift says:
1.0.1 works. Thanks.1.0.1 works. Thanks.
May 17, 2007
Tommi Laukkanen says:
Great! I hope you find the plugin useful.Great! I hope you find the plugin useful.
Mar 20
Doods Perea says:
I just tested this on JIRA 3.12.2 and it worked. (y)\\I just tested this on JIRA 3.12.2 and it worked.
May 08
Jamie says:
Would be great if this could work using the new trusted protocol... so you didn'...Would be great if this could work using the new trusted protocol... so you didn't put a password in, and it used the credentials of the user currently logged in to jira.
May 18
ben jones says:
Hi Guys, I was testing out this portlet on a JIRA 3.12 instance today and came a...Hi Guys,
I was testing out this portlet on a JIRA 3.12 instance today and came across a major problem. If confluence is down, the portlet causes the JIRA dashboard containing the portlet to not display itself thus rendering JIRA basically unusable. Shouldn't it have some sort of error message that is displayed telling you that the link to confluence is down or not accessible?
Ben
May 30
Doods Perea says:
I got the following in JIRA when I tried it in our Production environment where ...I got the following in JIRA when I tried it in our Production environment where JIRA and Confluence are on different servers:
"Error while loading Confluence page. Check configuration and/or log files."
When I checked the "stdout_20070527.log" file I found this portion of the entry:
"http-8080-Processor29 WARN [atlassian.seraph.auth.DefaultAuthenticator] User: tried to login but they do not have USE permission or weren't found. Deleting cookie.
Avoiding obscuring previous error by supressing error encountered while ending request: org.apache.xmlrpc.XmlRpcClientException: Exception closing URLConnection
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
...."
I am quite sure I used the correct username and password, and the required Confluence url, spacekey, and page title.
Can anyone please help me resolve this?
Thanks very much.
Doods
Jun 29
Doods Perea says:
I still could not fix the issue above and wonder if anyone can help me, please. ...I still could not fix the issue above and wonder if anyone can help me, please.
Our production JIRA and Confluence installations are on different servers.
Thanks,
Jun 02
Igor V Demin says:
I think your problem is in "https" so you need certificate on ...I think your problem is in "https" so you need certificate on each of both sides.
Jun 02
Doods Perea says:
Thanks Igor but we don't use https in both JIRA and Confluence. Also, in our Pre...Thanks Igor - but we don't use https in both JIRA and Confluence.
Also, in our Pre-Production server (where both JIRA and Confluence are installed), I did not have to configure https for them and it worked.
Regards,
Aug 14
Liz leach says:
Plugin working great in JIRA v3.12.3 with Confluence 2.9. Couple of questions 1)...Plugin working great in JIRA v3.12.3 with Confluence 2.9. Couple of questions
1) Is the issue identified above by Ben where the JIRA dashboard doesn't render at all if confluence is unavailable now fixed? I noticed that you get a properly rendered error if the wrong user credentials are supplied in the configuration of the portlet.
2) Is there any way to remove the [Edit] option either conditionally based on user security access or as an option on the configuration of the portlet.
Finally, I'd second Jamie's comment above regarding trusted application support although I'm not sure if this is supported when pulling information from Confluence into JIRA rather than the other way around.