youngmon/atlassian-qna huggingface dataset:
Retaining JavaScript Show/hide rules when editing in Table View Macro
Asked by Jason Walsh:

Looking for a little assistance.

I have a confiform form on a Confluence page where I'm running some JavaScript to hide fields on the form

Example:

```
<script type="text/javascript">jQuery(document).ready(function($) {   // hide all optional elements    $('#i_labelfor_jirakey').hide();    $('#i_holdingrow_jirakey').hide();    $('#i_labelfor_approvalsheader').hide();
etc....
```

On a child page, I've created a table view macro to display the form fields to allow for editing. Problem is that the hidden fields are not hidden when opening up the form from the "edit" button on the Table View macro.

I've tried copying and pasting over the JS code to the page where the Table View macro is but nothing seems to work.

Hoping it's something simple that I'm just not seeing / picking up on. Any help is appreciated!


Answers:
author: Alex Medved _ConfiForms_
body: For hiding the fields in ConfiForms Forms please use the ConfiForms Field Definition Rules.

As Adrian has mentioned the script you have runs on a page load, but the form is rarely loaded on page load (unless it is embedded)

comments: author: Jason Walsh
body: Using the pure CSS solution worked but by hiding the holding row class as opposed to the id. Doing this makes it so that if I click "edit" on a record displayed by a Table View Macro, the CSS is able to hide the fields in the form that pops up.

My solution:

```
<style>
.i_holdingrow_jirakey,
.i_holdingrow_approvalsheader {


? ? display: none;

}
</style>
```

Thank you both for steering me in the right direction!


author: Adrian Moerchen
body: Why are you using JavaScript?

Can't you solve your problem with pure CSS, i.e.

```
<style>
#i_holdingrow_jirakey,
#i_holdingrow_jirakey,
#i_labelfor_approvalsheader {


? ? display: none;

}
</style>
```

The elements may have other selectors in edit mode. The problem with your JavaScript is, that it just works once - when the page is loaded.


Tags: confiforms

confluence-server

javascript

server
Knowledgebase ariticles returning an error when inside a template
Asked by Marc Jason Mutuc:

Using Jira 8.8 and JSD 4.8, its seems we found an error.

When searching for a related arcticle on the JSD home (the one with "What do you need help with?"), click on the suggested article will open a pop up screen and works properly.

When starting to create a ticket, and starting to type in the summary, a list of related articles appear. Clicking on one opens a new tab and that is where the error is encountered. Error message is "The knowledge base article could not be found.".

This same article opens up properly via a pop up screen on the JSD home page.


Answers:
author: Fabian Lim
body: Hi Marc,

Looks like this issue has been resolved in a never versions of confluence. Link: <https://jira.atlassian.com/browse/CONFSERVER-58392>

Regards


Tags: confluence-server

jira-service-desk

jira-service-desk-server

server
JIRA issue/filter Macro - blank column
Asked by Thien Pham:

Hi

I am using confluence cloud version and trying to add several columns to JIRA issue/filter macro but it responses blank for most columns except default columns

* Key
* Assignee
* Type
* Priority
* Created date
* Due date

The rest is blank:

* Epic name
* Epic link
* Progress
* Label
* ..etc

Could anyone point me what need to be done to display those columns?


Answers:
author: Ang?lica Luz
body: Hello [@Thien Pham](/t5/user/viewprofilepage/user-id/3434758),

Thank you for reaching out to Atlassian Community!

The issue that you are facing where Epic name, Link, and Progress are blank on the macro is related to known bugs. You can find more information on the links below:

* [Epic Name/Link blank on JIRA Issue Macro](https://jira.atlassian.com/browse/CONFCLOUD-70306)
* [JIRA issue macro does not display certain columns data(work ratio, progress field, time to resolution and time to first repsonse)](https://jira.atlassian.com/browse/CONFCLOUD-35196)

Please, click on "This affects my team" and also watch to receive updates.

If you are filtering issues from a next-gen project, it might be expected that this information is not visible because Epic name, color, link, and status is not populated in this type of project:

* [As a Jira Software user, I want to be able to see the Epic information from next-gen projects in the search view](https://jira.atlassian.com/browse/JSWCLOUD-18891)

Regarding the Label field, I tested here and it's correctly populated. Are you using the system field or a custom label field?

Regards,  
Ang?lica


Tags: cloud

confluence-cloud
Confluence keeps logging me out and 403 Forbidden
Asked by Dasha Sutanto:

Hi, for two days in a row, once I started to edit on a confluence page (say.. after 3min) it logged me out and then I got 403 Forbidden message where I can't even log back in. Have cleared the browsing history.


Answers:
author: Adrian Moerchen
body: * Tried another browser?
* Maybe some browser add-on? ? try to disable them
* Are you using another app to connect to Confluence (via App)? ? this app may have stored a wrong password ? and trigger some firewall...

comments: author: Dasha Sutanto
body: Hm unsure. It happened for 2 days then kind of sorted itself out, so I'm good for now. Have been using the same browser (safari) that has only been used to log in to this confluence, so I won't have to swap out Microsoft login details. Anyway thanks for your help!


Tags: cloud

confluence-cloud
How can I stop Confluence logs from getting massive?
Asked by Michael Witten:

We have an issue where Confluence logs just keep growing until they fill the C: drive (on Windows Server).

I have looked at c:\\Program Files\\Atlassian\\Confluence\\confluence\\WEB-INF\\classes\\log4j.properties and all the MaxFileSize are set to 20480KB. I can also see that the logs at c:\\Program Files\\Atlassian\\Application Data\\Confluence\\logs max out at this size.

The issue is in c:\\Program Files\\Atlassian\\Confluence\\logs where the logs just keep growing. When Confluence starts getting errors due to the C: being full I go in and delete them all, but I can't find settings anywhere to set these logs max size (they were taking 20GB total before I deleted them this morning, some of them around 1.5GB each).

Is there any way to fix this?


Answers:
author: Adrian Moerchen
body: 1. Look into the logs and solve the problem... There must be a reason they are growing so large in a short time...
2. "C:\\Program Files\\Atlassian\\Confluence\\logs" are probably Tomcat logs..., so you may have to edit another settings file in the Tomcat folder

comments: author: Michael Witten
body: 1. This isn't in a short amount of time, it takes 6 months or more to get to that stage and most of the logs are just info, and any errors (like connecting to MySQL without SSL as its on the same server and nothing is open to the public, only using on the LAN) are not ones we need to or want to fix.

2. Thanks for that, I will investigate trimming Tomcat logs.


Tags: confluence-server

log

server
Company is going through a minor rebrand, is it possible to do a mass "Control + F" & replace?
Asked by Brian Megill:

Our company is changing some internal products from "A" to "B". Is there a way to find our where everything that says "A" will be shown, and/or can we do a bulk update to change everything to now read" B".

Thank you in advance.


Answers:
author: Bill Bailey
body: Because you are on Cloud, you only option is to write a script that crawls through every page of your Confluence instance using the [Cloud REST API](https://developer.atlassian.com/cloud/confluence/rest/intro/) .

Or pay for an app like [qron-search-and-replace-for-confluence](https://marketplace.atlassian.com/apps/1215739/qron-search-and-replace-for-confluence?hosting=cloud&tab=overview)

Depending on how many pages you have, surprisingly the brute force method may be the quickest and easiest. Basically search for the term, then open the pages one by one a use the embedded find/replace. It may be painful, but sometimes it is the best solution for one-off problems. Maybe hire a contractor to do it for you?


author: Florian
body: Hi Brian. We once did this on our server installation. We fixed some content directly in the database with SQL. To do this Confluence should either be shut down or the cache should be refreshed after the modifications. Unfortunately I think direct SQL access is not possible in a cloud installation.

Maybe you can export all you content, do the modification offline and finally upload your stuff again. Depending on the size of your installation this might be an option. But this definitely means some downtime.


Tags: cloud

confluence-cloud
Why don't I see the same options shown in Help when I hit Create from a space I can edit?
Asked by Jamie Howe:

I am new to confluence and need to start creating pages for notes and other project info. At this point from the project space, i can add project shortcuts, but I cannot add pages. When I hit create nothing shows up - the help shows options like meeting notes, blank, requirements, etc..

I did a screen share with CTO who arranged licenses and he said this wasn't working like he expects and open a ticket...I couldn't figure out another way to open a ticket.


Answers:
author: Diego
body: Hello [@Jamie Howe](/t5/user/viewprofilepage/user-id/4113223) !

As I understand, you are currently unable to create pages in Confluence.

I am not positive as to why this is happening, which is what triggered the following questions:
> 1. *Are you able to create pages in another space?*
> 2. *Are you able to check if other users are affected by this behavior?*
> 3. *Was there any change applied to your Confluence site prior to this?*
> 4. *Would it be possible for you to share a screenshot of what you see when you click the Create button at the top in your Confluence site?*

Keep in mind that our community is an open space. When taking the screenshot, take care not to share sensitive information.

Just so you have a reference, this is what I see when I click the create button in my instance:
> ![Screen Shot 2020-10-07 at 10.33.39.png](https://community.atlassian.com/t5/image/serverpage/image-id/113244iDF7D6EEE5AC5CA56/image-dimensions/472x231?v=v2 "Screen Shot 2020-10-07 at 10.33.39.png")

Let us hear from you!

comments: author: Jamie Howe
body: * *Are you able to create pages in another space? **no - I cannot create a space in my personal space or shared spaces***
* *Are you able to check if other users are affected by this behavior? **I checked with the CTO who is asking to use this and this is not happening for him. We did a screen share, and he said open a ticket b/c he had no idea***
* *Was there any change applied to your Confluence site prior to this? **to my knowledge no but I am new to confluence***
* *Would it be possible for you to share a screenshot of what you see when you click the Create button at the top in your Confluence site? **I literally see nothing - no pop up window or anything. ![Picture1.png](https://community.atlassian.com/t5/image/serverpage/image-id/113341i230ADD9977724C30/image-size/large?v=v2&px=999 "Picture1.png")***


Tags: cloud

confluence-cloud
Multimedia macro bug playing mp4 files
Asked by Gregory Muir:

This is kind of a show-stopper but it looks like it was never resolved? We're running into this problem right now. Currently running Confluence 6.15.2 and will finally be upgrading to the latest in a week or two so maybe this will be taken care of with that? (fingers crossed)

<https://jira.atlassian.com/browse/CONFSERVER-57854>

### Summary {#toc-hId-1175994871}

When using the Multimedia macro to view videos, it might work or not. The video start but stops at a certain time saying that they are either corrupted or run into a decoding problem. It's unclear what causes the problem reported here since it's not consistent.


Answers:
author: Fabian Lim
body: Hi @Gregoy,

Have you tried the workaround posted in the [bug](https://community.atlassian.com/t5/Confluence-questions/What-are-you-using-for-streaming-video-to-confluence/qaq-p/614294)?

Regards


Tags: confluence-server

server
Configuring User Directory
Asked by Joseph Hoskins:

I am the ONLY confluence server admin. I made changes to the users directories for confluence and now I cannot gain access to confluence. Can someone help me get my access back. Also all other people in the company cannot gain access either.


Answers:
author: Mikael Sandberg
body: You can restore the admin password by doing this:

1. Stop Confluence
2. Add this to your setenv.sh/bat file, replacing \<your-password\>

       -Datlassian.recovery.password=<your-password>

3. Start Confluence and log in with the user recovery_admin and the password you set.
4. Reset the password for your admin account, or create a new admin account
5. Verify that you can log in using the new admin password
6. Stop Confluence
7. Remove the system property
8. Restart Confluence

Have a look at [Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html) for a more detailed guide.


Tags: confluence-server

server
Move a Parent Page to a Blog Post
Asked by sunny:

Is it possible to move a parent page/regular page into a blog post? I know there has been a question about moving a blog post to become a regular post (which I think is unresolved?) but is it possible to the opposite.


Answers:
author: Diego
body: Hello [@sunny](/t5/user/viewprofilepage/user-id/4113135) !

As I understand, you need to move pages into the blog post category.

Going straight to the point, I can tell you that this is not possible. The feature has been suggested years ago but Atlassian decided not to pursue it:
> * [++***\[Confluence Cloud\] Convert\\move a page to news (blog post) and news to a page***++](https://jira.atlassian.com/browse/CONFCLOUD-16142)

The only way to move content from a page into a blog post is this:
> 1. *Go to the desired page*
> 2. *Click to edit it*
> 3. *Select all content within the page*
> 4. *Copy it*
> 5. *Close the editor without saving*
> 6. *Go to the blog posts*
> 7. *Create a new blog post*
> 8. *Paste the content you copied earlier*
> 9. *Publish the blog post*

Let us hear from you!

comments: author: Michael Kornatzki
body: The function is implemented in the cloud.  
It should not be too difficult to make this available in the DataCenter.  
Otherwise I'll have to write my own add-on, but it's not in the interests of the customers.  
Presumably the goal is to get everyone into the cloud...that's not going to happen


Tags: cloud

confluence-cloud
Paste with formatting and single spacing
Asked by Bryan Hord:

Is there a way to paste with formatting and retain single spacing? Is there a hidden configuration or something?


Answers:
author: Bill Bailey
body: No. Confluence is not a WYSIWYG editor like Word. It is web based, so a mix of HTML and CSS. You would need to change the space CSS to change the line spacing.

When you copy and paste, some of the formatting is kept, much of it is stripped out when you save.

comments: author: Bryan Hord
body: OK, other web based editors, web mail, web forms, and other wikis do not seem to have this particular behavior of inserting double spacing when pasting from other web based sources. It is peculiar to Confluence.


author: Bill Bailey
body: Maybe a different issue. That you have breaks between lines. Past into notepad first, then into Confluence to clean out the formatting.


author: Bryan Hord
body: There are no issues with copying and pasting from web sources to web mail, web forms, or other wikis. Pasting into confluence is the only place that creates the double spacing. Copying from Confluence to any of these web based editors does not cause double spacing and retains most of the formatting. The issue follows Confluence.


author: Bill Bailey
body: What I think is happening is you are getting empty P tags between lines. The other web editors may doing some filtering to remove those.

I am just letting you know what I have done to get around the issue. It is best to be pasting clean text into Confluence.


author: Bryan Hord
body: Thank you for your replies. I understand that Atlassian allows two choices, paste with formatting and double spacing or paste without formatting and single spacing. This is different than other web based editors found in email and other apps. And that is unfortunate.


author: Bill Bailey
body: Might be, but it is what it is. ;-)


author: Bryan Hord
body: Yeah, that's true. Again thank you for your thoughtful replies! I will work out something else. If I find something interesting, I will put it here.


Tags: cloud

confluence-cloud
Is there a way to create groups from users for the purpose of mentioning?
Asked by Brendan Hennessy:

Looking for a way to create a group from users in a space so that each person doesn't have to be individually tagged every time the entire group needs to be mentioned.


Answers:
author: Monique Khairuliana[ServiceRocket]
body: Hey [@Brendan Hennessy](/t5/user/viewprofilepage/user-id/4113040) , In Cloud, you can now @mention and [Share with your Team.](https://community.atlassian.com/t5/Confluence-Cloud-discussions/You-can-now-mention-and-Share-with-your-Team-in-Confluence/td-p/1124467)

Unfortunately, this function is still a Future Consideration in [Confluence Server.](https://jira.atlassian.com/browse/CONFSERVER-23015)

Check out [the comments from this community thread](https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-group-users-so-that-you-can-easily-tag-a-whole/qaq-p/454950) for some workaround suggestions.


Tags: confluence-server

server
client signoff forms
Asked by dennish_dcsorg_com:

We are looking for a way to present a form to a client (who is not a user in our Confluence Cloud system) and have the review and electronically sign a document for approval. Is this possible without them being a Confluence Cloud user?


Answers:
author: marc -Collabello--Phase Locked-
body: Hi [@dennish_dcsorg_com](/t5/user/viewprofilepage/user-id/2023499) ,

Can you describe a bit more of your use case, and what level of assurance you need that the "right" person signed the form?

I'm asking because there is a big difference between approval processes. For example in [Document Control](https://marketplace.atlassian.com/apps/1217765/document-control-for-confluence-cloud) you can require a user to provide a secret code for each approval, in addition to login.

Other approval processes just require to type in your email.

That said, the Confluence solutions I know of require login in order to identify who signed.

comments: author: dennish_dcsorg_com
body: The idea for this is that we create a work order or change order for a client system, and they can read and accept the work order (or planned outage, or some other form we want them to acknowledge).


author: marc -Collabello--Phase Locked-
body: The problem I see is that either the Confluence site is public, and then the work orders are public; or the site is closed, and then only Confluence users can see the work orders.

If you want to keep the work orders private, the clients must already be Confluence users?


author: Bill Bailey
body: A far better solution is PDFs with digital signatures. This not really a problem Confluence can solve.


Tags: cloud

confluence-cloud
Can we create JIRA tickets for two instances (Company A and Company B) using API?
Asked by T Lam:

Not sure if this is the right platform to ask this but we are looking for a way to create a JIRA ticket from Salesforce depending the ticket type to either Company A or Company B. Both are using JIRA Cloud.


Answers:
author: Brant Schroeder
body: If you are using the API you could do it one of two ways. Define the proper parameters in issue creation through the API when the issue is created. (Company A or B use component or issue type or custom field which is set on issue creation) This would require the application that is submitting the job to know the difference and then have a case statement that would adjust the information the application uses to create the API call. You could also do something in the workflow on issue create. Maybe you have a custom field or component value that is set via API call (much easier to program) and then have the workflow set all the other information to define it as company A or B. This way you would not be able to set a different issuetype.


Tags: cloud

confluence-cloud
Bulk archiving Confluence Spaces
Asked by Ted Morgan:

Hello,

Is it possible to do a bulk archive of Confluence Spaces?

I know there is [this approach](https://support.atlassian.com/confluence-cloud/docs/archive-a-space/) to do it individually, but we have numerous old spaces that have accumulated over the years. Hoping to find an approach that doesn't require archiving one at a time.

Thanks.


Answers:
author: Brant Schroeder
body: Ted,

Atlassian does not provide a bulk option. We use [Better Archiving For Confluence](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=server&tab=overview) It provides us with more functionality and allows us to generate reports and automations for managing content. You might take a look at it.


Tags: archive

cloud

confluence-cloud

space
How to edit labels
Asked by Gui ?vila:

I am trying to figure out how to edit a label's name. Then I found this topic: <https://community.atlassian.com/t5/Jira-Core-questions/how-to-edit-labels/qaq-p/163897#>

That was in 2016. Still now, there is no way to edit a label?

Thanks,

Gui.


Answers:
author: Stavros_Rougas_EasyApps
body: [@Gui ?vila](/t5/user/viewprofilepage/user-id/3965547) I know this requires an app but if you need to rename it's part of our app [Label Manager by Easy Apps](https://marketplace.atlassian.com/apps/1232224/). Renaming and merging are space admin only features.

![space admin only.png](https://community.atlassian.com/t5/image/serverpage/image-id/323040iA02BC0CB2F554401/image-dimensions/383x215?v=v2 "space admin only.png")


author: Rachael Fisher
body: I'm really shocked that JIRA doesn't currently have the functionality to manage labels, this really needs to be added!


author: Brant Schroeder
body: Gui,

This is still the only delivered solution for managing labels. There are apps that allow you to manage and update labels. [Label Manager](https://marketplace.atlassian.com/apps/1221542/label-manager-for-jira-cloud?hosting=cloud&tab=overview) is one that would allow you to edit the label.

comments: author: Gui ?vila
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) Product team should give attention to this. It's hard to believe that we need to install an app to change the name of a label. Atlassian should have a tag manager, to enable users to change label names and even merge labels. Very strange that years have passed and we can't do that until know :/

Thanks.


author: Brant Schroeder
body: Gui,

Thanks for the feedback. This is a community support forum so I would recommend submitting your request to Atlassian through support.


Tags: cloud
change email
Asked by Josef Litchfield:

I need to change my email, admin has to do it, then i get an email saying they can't change it because i have another account, but i don't have another account, and still need my email changed?


Answers:
author: Bill Bailey
body: Your email address is the primary part of your login. You can change your name but not your email. So the only way to handle it is to have them disable your old account and create a new one for you with the new email address.


Tags: cloud

confluence-cloud

email
Adjusting the image size to full width of page
Asked by Swati Agarwal:

I am new to Confluence, creating a wiki page for our team and inserting an image. I want the image to take complete width of the page but I am unable to do so by adjusting the px even upto 900px- the image is still remaining small. I have tried this with multiple images.

Can you please help!


Answers:
author: Jonathan Scarborough
body: Greetings Swati,

I tested inserting an image into a table, and Confluence displays the image in full size. Is this what you need?


Tags: cloud

confluence-cloud