youngmon/atlassian-qna huggingface dataset:
Possible for Jira/Confluence links to only open when redirected from specific webpage?
Asked by Andrea Wadsworth:

We are developing a web tool which uses Jira Service Desk Cloud and Confluence Cloud to provide support. This web tool uses single sign on, so only client users can access the web tool and the link to the support sites. We are concerned with protecting security and IP while still making it easy for users to access support.

I know it is possible to lock down permissions on Jira and Confluence so that only specific users have access and/or they have to create an account before they can log tickets/read knowledge base articles. We would prefer NOT to do this in order to make it as easy as possible for users. There are also going to be thousands of users and we do not want to provide individual access for each user.

But if we have the settings for Jira/Confluence set as "anyone can view", we are aware that our knowledge base articles and links to our Jira/Confluence sites may show up in search engine results like google. This is an IP risk for us and a potential security risk as well.   

Ideally it would be great if the link to the support sites would only open if you were redirected from our web tool. Is this at all possible?  

Any advice on how to set up the support sites for ease of access while also maintaining security would be much appreciated.


Answers:
author: Shannon S
body: Hi Andrea,

This is not currently possible. If you enable "*anyone can view*" then anyone will be able to see the instance. I would recommend for security's sake that you only allow users with an account on the instance to login.

We have two feature requests below to modify robots.txt (to block search engines) or to block it by default:

* [CLOUD-5915](https://jira.atlassian.com/browse/CLOUD-5915) Allow users to modify their robots.txt
* [CLOUD-5685](https://jira.atlassian.com/browse/CLOUD-5685) Stop search engines from indexing Atlassian OnDemand instances by default

Secondly, we have a feature request for users to be able to whitelist which IPs can access their Cloud instances:

* [CLOUD-2636](https://jira.atlassian.com/browse/CLOUD-2636) Allow customers to configure IP whitelist

This wouldn't prevent users accessing your site via another site to view your instance, but rather, require that they are in a certain location or a certain network to be able to do so.

Let me know if you have any questions.

Regards,

Shannon


Tags: confluence-cloud

access

cloud

jira-cloud

jira-service-desk

jira-service-desk-cloud

permission

redirect

security
problem with Confluence Cloud add-on: uid undefined on AC.getUser method
Asked by Jason Wright:

Hi,  
My add-on - Document Control for Confluence Cloud - uses atlassian-connect-express 3.1.0. It's experiencing issues which looks to be from a call to \`AP.getUser\`.

```

com.atlassian.plugins.atlassian-connect-plugin:ap-user-v5.js?externals=__local-default__:5 Uncaught TypeError: Cannot read property 'uid' of undefined
 at Object.getUser (com.atlassian.plugins.atlassian-connect-plugin:ap-user-v5.js?externals=__local-default__:5)
 at a._handleRequest (com.atlassian.plugins.atlassian-connect-plugin:ap-core-v5.js?externals=__local-default__:48)
 at a.b._receiveMessage (com.atlassian.plugins.atlassian-connect-plugin:ap-core-v5.js?externals=__local-default__:61)

```

It seems to fail in the exact same way as this JIRA Cloud issue:

<https://jira.atlassian.com/browse/JRACLOUD-69292>

I see that \`AP.getUser\` is deprecated but has the functionality already been removed? Or is this a bug?

Thanks,

Jason Wright


Answers:
author: Shannon S
body: Hello, Jason!

Could you tell me if AP.getUser() is actually returning a user? If it doesn't, that might point to a ACJS / Connect issue.

If data isn't present in the context, as in the ticket you linked, then it might be an ACE issue. You mentioned you're using ACE version 3.1.0. In this version, there are some known bugs around user data which looks to be resolved in the near future. Once this is resolved, this could potentially resolve your issue, if that is the case.

Could you confirm if you have an example tenant or instance that you are seeing this on, so we can help debug? Only if you have one that you're comfortable with sharing publicly, of course. Lastly, could you give us more information on how you're using ACE + ACJS, such as some sample code?

Regards,

Shannon

comments: author: Jason Wright
body: Hi Shannon,

Apologies for the delayed response. For whatever reason, the issue went away later that day. Might have been some cache problem on my end, but either way, I was not able to reproduce it.

Thanks,

Jason


author: Shannon S
body: Hi Jason,

Glad to hear the issue is sorted!

Take care, and have a pleasant week.

Shannon


Tags: atl-dev

cloud

confluence-cloud
Sub pages show 404 Confluence
Asked by Phil Wade:

I've set up Confluence on windows server 2016 hosted in Azure to run through a reverse proxy using IIS, and applied SSL, following: <https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-microsoft-internet-information-services-iis-833931378.html>. I have never set up a revere proxy before, and I have basic knowledge of web servers/web development.

(I asked a related question here <https://community.atlassian.com/t5/Jira-Software-questions/java-io-FileNotFoundException-C-Program-Files-Atlassian/qaq-p/880092>)

Using a web browser on the server and using http://localhost:8090 pages show correctly.

But from my pc using <https://docs.mycompany.com/>, the home page and top space pages shows fine, but when I click on a link to a subpage I get

Server Error {#toc-hId-1823744511}
----------------------------------

404 - File or directory not found. {#toc-hId--728412450}
--------------------------------------------------------

### The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. {#toc-hId-817884380}


Answers:
author: Shannon S
body: Can you show us the settings that you're using to send requests from docs.mycompany.com to the localhost URL?

Regards,

Shannon

comments: author: Phil Wade
body: I hope this is what you mean![2018-08-31_18-18-17.png](https://community.atlassian.com/t5/image/serverpage/image-id/31005iECC6E1D07EE24817/image-size/large?v=v2&px=999 "2018-08-31_18-18-17.png")![2018-08-31_18-20-12.png](https://community.atlassian.com/t5/image/serverpage/image-id/31003i8196DB59EF61AE70/image-size/large?v=v2&px=999 "2018-08-31_18-20-12.png")![2018-08-31_18-32-57.png](https://community.atlassian.com/t5/image/serverpage/image-id/31004iE41A488DFD32998F/image-size/large?v=v2&px=999 "2018-08-31_18-32-57.png")


author: Phil Wade
body: I neglected to set Tune Request Filtering for the confluence site. with that set the issue is fixed.


author: Shannon S
body: Hi Phil,

Sorry for the delay as I was away for the weekend. Happy you were able to determine the issue with your site! Thank you for sharing those details with us.

Regards,

Shannon


Tags: confluence-server

reverse-proxy
Sticky table headers in view mode.......how do you do it?
Asked by Tony Griffiths:

Sticky table headers in view mode.......how do you do it?


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi Tony,

Another solution you may like comes from [Table Filter](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app. You can set several first [rows and columns frozen](https://docs.stiltsoft.com/display/TableFilter/Managing+Look+of+the+Table+and+Filtration+Pane#ManagingLookoftheTableandFiltrationPane-FreezingFirstNRows/Columns) both in page view and edit mode (in edit mode only rows freezing works). It has no limitations on table and page complexity and themes you use in your spaces, because it work in a different way. You can see how it works on the [demo site](https://demo.stiltsoft.com/display/tblfilter/Managing+Look+of+Tables?os_username=guest1&os_password=guest1).


author: AhmadDanial
body: Hi there, Tony.

From the test I have performed on my end, I can confirm on the following behavior:

**Confluence Cloud**

* Edit Mode: *No*
* Preview Mode: *No*
* View Mode: *Yes*

**Confluence Server (Latest 6.11.0):**

* Edit Mode: *No*
* Preview Mode: *No*
* View Mode: *Yes*

Mind you that there are some restrictions to this feature as mentioned in the [Sticky table headers in view mode](https://confluence.atlassian.com/doc/tables-136463.html#Tables-stickytableheadersStickytableheadersinviewmode) and possibly row numbers as well. This was shared by a user in the [here](https://community.atlassian.com/t5/Confluence-questions/Do-you-know-how-to-freeze-the-headers-when-we-scroll-through-a/qaq-p/125261).

The sticky table header for edit and preview mode are being tracked in the following tickets:

* Cloud: [CONFCLOUD-46231](https://jira.atlassian.com/browse/CONFCLOUD-46231)
* Server: [CONFSERVER-46231](https://jira.atlassian.com/browse/CONFSERVER-46231)

For now, can you please confirm if you are seeing otherwise on your end? If you are on Confluence Server, please let us know the version that you are are running on to see if your scenario relates to an older Confluence version - [CONFSERVER-9267: Scrollable Tables with Fixed Header](https://jira.atlassian.com/browse/CONFSERVER-9267). Keep us posted.
cannot connect to Slack
Asked by Domingo Mihovilovic:

I installed everything and keep getting: :eyes: It doesn't look as if Confluence Cloud for Slack is installed on your site.


Answers:
author: Nouman Hanif
body: I have the same issue. I am on free plan. Can you please suggest a solution? Thanks

comments: author: Mykhailo Vlasov
body: Hey [@Nouman Hanif](/t5/user/viewprofilepage/user-id/4066455)! You might send us your case details via **/confluence feedback** and we'll try to figure it out.


author: Tim Pettersen
body: Hi Domingo!

Could you raise a support case at <https://getsupport.atlassian.com/> with the details of your site so we can investigate?

cheers,

Tim Pettersen

Strategic Integrations Team Lead


Tags: cloud

confluence-cloud

slack
Where is Confluence Cloud for Slack?
Asked by alan_at_jober:

I got an email from Confluence including the below link:

<https://confluence.atlassian.com/confcloud/confluence-cloud-for-slack-956709523.html>

But I can't find Slack Notifications from neither the menus nor the settings.


Answers:
author: Tim Pettersen
body: Hi [@alan_at_jober](/t5/user/viewprofilepage/user-id/1257538),

We're in the process of gradually rolling out Confluence Cloud for Slack across Confluence Cloud. It should be available across all sites at 7am Saturday KST, or if you want to send me your Confluence Cloud site URL I can prioritize deployment for you :)

- Tim (tim@atlassian.com)

Strategic Integrations Team Lead @ Atlassian

comments: author: alan_at_jober
body: Oh I see. I'd like to use it earlier.

My confluence cloud site is <https://joberio.atlassian.net/wiki>.

Thanks for a great feature ?


author: Tim Pettersen
body: Thanks! The app should now be deployed to <https://joberio.atlassian.net/wiki>

Looking forward to your feedback :)


author: Rob (admin)
body: Hi Tim - I received the same notice a few days ago but can't deploy it either - can I expect it generally available on saturday? Could you bump us up too? <https://flowatscale.atlassian.net/>


author: Michael West
body: Would it be possible to get bumped up on this as well. I checked today and do not see Slack available. cybercents.atlassian.net. Thanks


author: Tim Pettersen
body: Hi [@Rob (admin)](/t5/user/viewprofilepage/user-id/1378278) \& [@Michael West](/t5/user/viewprofilepage/user-id/358276)!

Apologies, I missed your message yesterday. According to my records, Confluence Cloud for Slack is now installed on both of your sites.

Enjoy! And don't forget to use the \`/confluence feedback\` command to let us know what you think ;)

cheers,

Tim


author: Rob (admin)
body: Not at all, thanks!!


author: Michael West
body: Would it be possible to get bumped up on this as well. I checked today and do not see Slack available. cybercents.atlassian.net. Thanks

comments: author: Michael West
body: Did not mean to post as answer


Tags: cloud

confluence-cloud
Support for Postgresql 10
Asked by Jiri Pik:

Does Atlassian plan to support this version? When?


Answers:
author: Rodrigo Cortez
body: Atlassian will start working on adding PostgreSQL 10 support for Jira Server in the near future and will be reflecting the status on [JRASERVER-65910](https://jira.atlassian.com/browse/JRASERVER-65910 "JIRA support for Postgres 10").

Please join there, vote for it and set yourself as a watcher. You'll receive an update there on our progress going forward.
> We've also planned adding support for PostgreSQL 11. See [JRASERVER-68578](https://jira.atlassian.com/browse/JRASERVER-68578 "JIRA support for Postgres 11") for updates.


author: Sri Ved
body: It has been close to a year now. However latest versions of Jira and Service Desk still don't seem to officially support Postgres 10.


author: Nic Brough -Adaptavist-
body: Yes. They will support it.

When it has passed all the testing on both sides (database and application)


Tags: confluence-server

jira

postgres

server
Obsolete bundled PostgreSql JDBC driver
Asked by Jiri Pik:

According to <https://confluence.atlassian.com/conf64/database-jdbc-drivers-936511496.html>, the bundled driver is 9.4 while [https://jdbc.postgresql.org/download.html recommends](https://jdbc.postgresql.org/download.html?recommends) not using any other driver than 42.xxx.

1. What's the reason for this?

2. If I replace the JDBC driver myself, what version of JDBC should I use? JDBC 4.1?


Answers:
author: Nic Brough -Adaptavist-
body: It was the right version to use at the time 6.4 was built.

If you want the software to work, and be supported by Atlassian, you need to use the versions of the database, hardware and drivers that they state they support.

If you replace the JDBC driver, erm, well, don't. There is no good reason to do so, and the only significant effects are that you start having problems with the software for which you are not supported.

Short story - stop wasting your time looking at drivers. Use the supported ones.

comments: author: Jiri Pik
body: The reason I am looking into this is that once in a while, Confluence or JIRA have connection to database problems which look bogus - the database is up and running and there is no network problem, Reboot of the server usually solves them.

So a hypothesis is that the drivers may be the cause ....


author: Nic Brough -Adaptavist-
body: Looking at the driver is a good idea, it makes sense. But the Jira you have was written to support the specific version that is distributed with it.

Changing the version might fix some things (unlikely, but possible), but that would only fix appserver-to-database issues. It won't affect Jira-to-appserver issues, and could easily add loads more, as the application is expecting the existing driver.

To debug the problems you are having, you're going to need to look at the logs and the behaviour of the server and its services, not just pick out the database connector without evidence.


author: Jiri Pik
body: Thanks, Nic. You're absolutely right.

I thought Atlassian would read this forum and maybe update the drivers???


author: Nic Brough -Adaptavist-
body: They do. There are newer drivers in later versions of the software.

They do not back-port drivers (or other things) into older versions of the software, as that would require large amounts of testing and possibly development. If you want to use newer drivers, upgrade.


Tags: jira
Unable to Delete Attachment
Asked by Carlos March:

For some reason some attached files appear in my page. And I cannot find a way to remove them.

Please help.


Answers:
author: Carlos March
body: Thanks for the quick help.

Unfortunately the links are not shown, only a list of documents from within the "Attachments" Macro.

Anyway, the "workaround" was: Delete the Page and start all over again... this time no undesired attachments appeared in the list.

My guess is that that page with the problem might have been copied instead of created, and then the attachments were included in the copy.

Thanks again.


author: Nic Brough -Adaptavist-
body: Edit the page, and look for the areas where the attachments appear. You should see links to them, or possibly macros that call them. You should be able to delete these bits and the attachments will no longer appear after you save and go back to view.

If that process is not working, could you explain at what point it fails, and how?
How do I Hyperlink to JIRA filter with an edited hyperlink text?
Asked by George Couston:

Hello all,

First time poster here. I am experiencing an error when I am attempting to link an exported JIRA filter on a Confluence page where the hyperlink text has been edited.

Confluence Version: 6.0.3

JIRA Version: JIRA v7.2.3

Breakdown of steps: I selected one of my JQL custom filters and hit the "Share" button in the top right. I copied the "Link to filter field" and pasted it to a page in Confluence. I clicked on the link, clicked "edit" and changed the link text to "JIRA filter." When I clicked on the hyperlink, I received an error saying:

--"Error in the JQL Query: The character '%' is a reserved JQL character. You must enclose it in a string or use the escape '\\u0025' instead"

The text appeared to be entered in the JQL field as "project%20%3D%20..." as opposed to my JQL query. Not renaming the hyperlink takes me to the filter as expected.

Anyone know how to change the text from the long hyper link to something short like "JIRA filter" and not experience an error?

Thank you,

-George


Answers:
author: AhmadDanial
body: Hello, George.

Can you please confirm specifically on **screen shot** of the action you are performing when you mentioned this - "*I copied the "Link to filter field" and pasted it to a page in Confluence. I clicked on the link, clicked "edit" and changed the link text to "JIRA filter."*"? Are you referring to [JIRA Issues Macro](https://confluence.atlassian.com/conf60/jira-issues-macro-852731859.html) documentation or just merely the URL itself?

The reason why I am checking on this is because in the new Confluence 6.11, the URL of the JQL filter will automatically be rendered to the JIRA Issues Macro when it is pasted to a Confluence page. So, I am interested to see how the behavior is like in Confluence 6.0.3.

![Screen Shot 2018-09-10 at 13.14.09.png](https://community.atlassian.com/t5/image/serverpage/image-id/31780i053964B271C8AF60/image-dimensions/291x234?v=v2 "Screen Shot 2018-09-10 at 13.14.09.png")

Looking forward to hear from you soon. Thanks.

comments: author: George Couston
body: Hi Ahmad,

Thank you so much for reply to my thread! The link that you posted, the "JIRA Issues Macro," actually fulfilled my use case better than what I was trying to do previously. No instead of hyperlinking the word "link" on confluence, there is an embedded JIRA macro that shows the number of issues open for that particular filter and links to the filter itself.

Thank you!

-George


author: AhmadDanial
body: Hi there, George.

You are most welcome. Happy to know that the suggestion was a better choice to cater to the requirement that you have. Any time!


Tags: confluence-server

jira

link
I added an addon but not sure how i get it to work.
Asked by Brian Horace:

#### I ADDED Composition for Confluence but I have no clue as to how to get it to function. {#toc-hId-1430070526}


Answers:
author: Morgan Folsom
body: Hi Brian,

I would reference the documentation provided in the Atlassian marketplace, to start. Assuming this is the app you're talking about:

[https://marketplace.atlassian.com/apps/245/composition-tabs-page-layout?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/245/composition-tabs-page-layout?hosting=server&tab=overview )

In the bottom right corner, there is a link to 'Documentation'. That will take you to the vendor's site, which outlines installation as well as user guides. They've got a step-by-step walkthrough of each piece of functionality in the app.

Morgan

comments: author: Brian Horace
body: Thank you. Also Ive been trying to turn on the html macro and cant find how to enable that, is it hidden intentionally?


author: Brian Horace
body: also thank you so much.


author: Morgan Folsom
body: Absolutely - according to Atlassian's documentation, it is disabled intentionally.

"The HTML macro is disabled by default. You'll need Confluence Administrator or System Administrator permissions to enable this macro.

Enabling these macros can make your Confluence site vulnerable to cross-site scripting attacks. You should only turn on these macros if you trust all your users not to attempt to exploit them. We strongly recommend leaving this macro disabled if you allow self-signed up or anonymous users to create content."

<https://confluence.atlassian.com/doc/html-macro-38273085.html>

That page does walk through the steps to enable it, although recommends against it.


author: Brian Horace
body: I saw the steps and they dont match up to what I see when i try to enable it
Unable to upload attachments through Attachment macro in Confluence?
Asked by Sam:

I am the Jira Admin, I am ale to upload files using attachment macro but my users are unable to upload. How to enable them to upload.


Answers:
author: Morgan Folsom
body: Hi,

For a user to add attachments in a space they will need to be permissioned to do so.

* To access space permissions, select 'Space Tools' in the bottom left corner while in the space.
* From there, select 'Permissions', and you will see the breakdown.
  * You'll want to be sure the users/group have a green checkbox under 'Attachments \| Add'

As an admin, you can also set Default space permissions by accessing 'Users \& Security' in the Admin panel.

Morgan

comments: author: Sam
body: Hi Morgan, ![Permission.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/30955iD88404DAAC8DA090/image-size/large?v=v2&px=999 "Permission.JPG")

Thanks for the reply, all the above stated permissions has been granted already. For reference I have attached the screenshot. Please suggest me on editing.

Thanks,

Sai.


Tags: cloud

confluence-cloud
Select AD groups when assigning security to a Confluence page, rather than type individual names
Asked by Darin Hafer:

1) When I look at User Directories in both Jira and Confluence, we have both the internal directory listed as well as our corporate AD server (Read Only, with Local Groups).

In Confluence, one of our users wants to select AD groups when assigning permissions to a page, rather than type individual names.

I don't see the AD groups anywhere and it looks like we may not really sync our AD groups, is that correct ?? (AD is configured as read-only, with local groups)

I don't want to edit our AD groups, only apply them to page permission.


Answers:
author: Darin Hafer
body: Thanks Jamie for your response. The groups in that article aren't exactly same as what I meant. The groups mentioned in that article refer to groups stored in the Internal directory of Confluence. confluence-adminstrators is a default group within Confluence itself.

We have an external Corporate AD that we sync with and I just realized we do not sync those external AD Groups because they are managed externally, and therefore, they are not available in the list of groups.


author: Jamie Rogers
body: Hi Darin

In our organisation we use AD groups to limit the scope of users who can login due to licensing constraints etc. In order to assign a group to a space or be used via page restrictions you need to add the group via global permissions. You need to be a Confluence admin to access this.

Have a look at the following documentation [https://confluence.atlassian.com/conf610/global-permissions-overview-952622945.html](https://confluence.atlassian.com/conf610/global-permissions-overview-952622945.html "Global Permissions Overview") if you need clarification.

Regards, Jamie