youngmon/atlassian-qna huggingface dataset:
Can i edit the preview of placeholder of User Macros?
Asked by naime_surenkok:

Dear all,

We have started using Confluence Server, and very interested in working with User Macros.

I have been working on a user macro where i want to edit the placeholder like "Status" macro did. Here is the screenshot to be more accurate:

![chrome_2018-02-20_18-10-35.png](/t5/image/serverpage/image-id/15366iFB31C86494C81397/image-size/large?v=v2&px=999 "chrome_2018-02-20_18-10-35.png")

All help is appreciated. Long story short, i want to edit how the preview looks like to be more clear to the team who is working on this document.


Answers:
author: Reinhard Piltz
body: Here is a small macro to create a link in a new tab.  
In German, but just an example.

```
## Macro title: xLink
## Developed by: RP
## Date created: 04.04.2013,17.01.2018
## Installed by: RP
## Eingabe der Parameter

## @param Url:title=Url|type=string|required=true|desc=Bitte Url eingeben
## @param Ziel:title=Ziel|type=enum|enumValues=_blank,_self,_top,_parent|default=_blank|required=true|desc=Bitte Ziel eingeben 
## @param Bezeichnung:title=Bezeichnung|type=string|required=true|desc=Link-Bezeichnung eingeben
## @param copyr:title=Copyright|type=enum|required=false|enumValues=tegut... 2018, V 2.0|default=tegut... 2018, V2.0

<a href="$paramUrl" onclick="window.open(this.href, '$paramZiel', ''); return false;">$paramBezeichnung</a>
```


Tags: user-macro
Table or column border margin resizing option in confluence while working in Mac
Asked by Vijay HS:

I am unable to resize the columns, for example i have 10 columns and first column (Column A) is relatively more of text, in this case not sure how to size the first column to push it to get more space for the column A.


Answers:
author: Shannon S
body: Hi Vijay,

What version of Confluence are you working on? I'm on macOS as well, testing on Confluence Server version 6.7.0, and I'm able to click and drag the columns of my table for my needs. Can you let me know what's happening when you try to click and drag the columns?

You also mentioned in your title that you cannot resize the borders or margins but this is expected in Confluence. Could you show me what you're trying to do exactly with the table and let me know if you're using any table add-ons?

Regards,

Shannon

comments: author: Jesus Valencia
body: I have the same problem. I'm using Confluence version 5.9.2. I'm on a MacOS using Chrome browser Version 65.0.3282.167 if that helps.

I'm thinking maybe this is a bug. Is there a known workaround. I have table where I desperately need to edit the columns. Thanks for any help you can provide.


author: Vijay HS
body: Hi Shannon - Thanks for writing back.

I am unable to drag the columns in my version. Below are the version that i am using. Is this the issue? Will this be resolved if i upgrade?

### Confluence 5.8.18 {#toc-hId-1594169627}

Thanks,

Vijay


author: Shannon S
body: Hi [@Vijay HS](/t5/user/viewprofilepage/user-id/1189365) and [@Jesus Valencia](/t5/user/viewprofilepage/user-id/1190928)

Resizeable columns were introduced in 5.10:

* [Confluence 5.10 Release Notes](https://confluence.atlassian.com/doc/confluence-5-10-release-notes-826894762.html)

> Take control of your tables {#toc-hId-1790707129}
> -------------------------------------------------
>
> Say goodbye to ugly tables, cry no more over that narrow, hard to read column. ++Get your table columns under control once and for all with our new resize options. Drag column borders to resize them and make your table look the way you want.++ For even more control you can pick a table mode from the table toolbar. **Responsive** adjusts the width to fit the page viewer's browser window, while **fixed width** keeps the exact width you set, regardless of the size of the browser window.

Therefore, if you were to upgrade to 5.10 or higher, then you will have the table resize options.

***Jesus*** - I also wanted to make sure you were aware that the Chrome Beta is not a [supported platform for Confluence](https://confluence.atlassian.com/doc/supported-platforms-207488198.html), which could possibly cause you to run into issues in the future. That's not to say that it might not work perfectly for you, but it's always a possibility that it could cause an issue.

Let me know if you all have any questions!

Regards,

Shannon


author: Jesus Valencia
body: Thanks for getting back to me. I saw are workaround where you enter a blank symbol and this worked for me.


author: Vijay HS
body: Thanks Sharon. I will look at options to get the latest upgrade in our organization.

- Vijay
Option to add user manually is missing!
Asked by Antti Wiio:

I just signed up for a free test drive. Once upon a time, I worked with Conflence v. 2.x, so I have a pretty clear idea about what I want to accomplish. I want to set up new users manually so that they have certain personal spaces and page structures ready. I don't want them to land on the dashboard but a personal landing page I create for each new user individually. I will send the id \& psw securely to the users only after I have their customized environment ready.

The documentation writes about option to add user manually, but after navigation User Management - \> Users, I find a page that looks nothing like the screenshot on documentation: I only see a list of users and above them three rows of full name \& Email address entry fields and buttn "Invate users".

What the heck is wrong here? Has the "add users manually" -functionality been removed without updating documents? Or does the free to try -version have some limitations? Or am I missing something?


Answers:
author: Sloan
body: Hi [@Antti Wiio](/t5/user/viewprofilepage/user-id/1189346) are you on Confluence **Server** or Confluence **Cloud**?

On Cloud you can only invite users, since everyone needs an Atlassian ID.

On Server you are able to create users the manual "old" way.   
In Confluence Server 6.7 it looks like this:  
![Add User.png](https://community.atlassian.com/t5/image/serverpage/image-id/15370i097D67ECF7F1D087/image-dimensions/703x344?v=v2 "Add User.png")

To send users to their own Dashboard after login I recommend the add-on [Homepage Redirect](https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.homepageredirect/server/overview).

comments: author: Antti Wiio
body: Ok, that explains it -- I'm using Cloud. Tnx!


Tags: user
How to add organzations to a screen
Asked by Yousaf:

Hello,

I would like to add the field "Organizations" to my screen, so I have it in my request type field.

Is there any way? I found the screen scheme and organizations is even added to the list, but it is not visable when editing the request type fields.

Thanks


Answers:
author: Fabrizio Galletti
body: Organization field is added by "jira service Desk" it's a system field containing the customer organization.

here some information

<https://confluence.atlassian.com/servicedeskcloud/blog/2016/11/change-organization-for-multiple-issues>

What ypu want to achieve?

comments: author: Yousaf
body: Hi [@Fabrizio Galletti](/t5/user/viewprofilepage/user-id/502345),

thanks for the link.

I want Jira to automatically set the organization when a new issue is created. At the moment it is done manually.

Thanks


author: Fabrizio Galletti
body: Organization is taken by the user. Add the organization (from project configuration - customers ) and then associate the user to that one


author: Yousaf
body: An organization already exists. But we have to accociate it with every issue manually, every time an issue is created.

Is there no way to automate this?


author: Fabrizio Galletti
body: if a reporter is associated to an organization, it should be assigned automatically


author: Yousaf
body: Hmm this does not work for me. I have 5 people in an organization but still it does not work when either of them is a reporter.


Tags: jira
Question marked as spam
Asked by williamc:

Hi,

I have a new confluence setup that is not working, I can't contact support on starter edition and I raised a forum post here - <https://community.atlassian.com/t5/Confluence-questions/HTTP-Status-500-Cannot-call-sendError-after-the-response-has/qaq-p/732073#M98325> - but, it was marked as spam.

I've tried contacting Atlassian via Twitter without much luck and am out of options.

I don't want to repost and get another spam mark, so, can a mod/admin please look at the above link and remove the spam mark please?

Thanks


Answers:
author: Thomas Schlegel
body: Hi [@williamc](/t5/user/viewprofilepage/user-id/1177438),

My apoligies for this. We look regularly at the spam quarantine for posts that were wrongly classified by the spam filter. But since most of us are just users like you, sometimes, it could take some time. It was a good idea to ask again, thank you for that.

I have released your post now.

comments: author: williamc
body: Thank you! Hope I get a response there now!


author: slmt
body: And this one while you're at it, please: <https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-Pipelines-docker-run-doesn-t-run/qaq-p/774612>


author: Thomas Schlegel
body: [@slmt](/t5/user/viewprofilepage/user-id/841104) - done
Distribute/share calendar entries among other team calendars
Asked by robertogrande:

Hi,

I am working for multiple projects upon request(s) and the managers all have a confluence team calendar for knowing who is e.g. on holiday. The problem is that when I create a calendar entry (e.g. a Leave type) I am unable to share/distribute this event between other project's team calendar. Is there any other solution/suggestion for this other than entering it one-by-one into other calendars?

The ideal way is when creating an event in the dialog I can select (a dropdown menu with checkboxes) which calendars I want to publish my event and not just into one.

Thanks in advance,

Roberto


Answers:
author: AnnWorley
body: Hi Roberto,

Adding an event to multiple calendars as you describe has been requested in this suggestion ticket: [Ability to add one event to multiple calendars](https://jira.atlassian.com/browse/CONFSERVER-51244). The ticket is public so you may comment and/or vote to let the development team know you are interested. If you vote or comment you will be added as a watcher and notified of progress.

At the moment, perhaps the managers you work with can [add your calendar](https://confluence.atlassian.com/teamcal/create-add-and-edit-calendars-654213559.html#Create,Add,andEditCalendars-Addothercalendars) to their "My Calendars" view so they can see when you are out. If you don't want all your events displaying for them, you could create a "Roberto's Leave" calendar and let them view that. It isn't as convenient as your suggestion but perhaps it will help.

Thanks,

Ann


Tags: team-calendars-for-confluence
Is there a global find and replace option available?
Asked by priti.hota:

Hi,

Can someone help me with the global find and replace option in confluence which would find and replace all the instances in a space, across pages, at one go ?

Thanks

Priti


Answers:
author: Stephen Deutsch
body: Hi Priti,

here's a user macro to do so:

<https://streamline.atlassian.net/wiki/spaces/STRMLN/pages/5144578/Search+and+Replace+User+Macro>

You should be careful though, as it replaces all text in the XHTML code, so if you're not careful you can mess up a page.

comments: author: priti.hota
body: Thanks
How to deal with slow "popular content macro" query i confluence 6.4
Asked by Morten Bjerregaard:

I am using the "popular content macro" in conflunce 6.4.0 server.

The pages where I uge the macro have an incredibel long loading time.

Whe looking i the log I can see that the query tkaes a long time.

"\[5533ms\] - UsageIndexManager::queryPopular"

I( hav set the parameteres to only look en one space - and only for pages.

Data rage 2 weeks.

Evene when I do so, it's still an encredibel loong redering time :-(

Is their af way to speed this up? - ither hardware ( more RAM, SSD) or setting the parameteres in the macro or confluence.


Answers:
author: AnnWorley
body: Hi Morten,

I understand the popular macro is slow to render, even though you set the parameters (fairly narrowly) to only pages within a specific space. The popular macro depends on the [Confluence Usage Tracking Plugin](https://ecosystem.atlassian.net/wiki/spaces/USGTRK/overview) which is disabled by default because of performance issues.

The plugin stores information on the file system, in the [content index](https://confluence.atlassian.com/doc/content-index-administration-148844.html), so slow file storage could impact performance. [Reindexing from scratch](https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html) might speed up the macro temporarily, but would cause you to lose history of usage tracked by the plugin.

If the Usage Tracking plugin keeps misbehaving, please check the [Atlassian Marketplace](https://marketplace.atlassian.com/search?product=confluence&query=analytics)to see if any of the analytics add-ons available would be suitable for your use case.

Thanks,

Ann


Tags: popular
Why can my users search pages where my global template is placed but not the details of said page?
Asked by Jarvin Li:

Hi there,

**Some details:**

* I currently have 11 spaces that are being developed for specific teams.
* I am using a global template to populate the spaces with pages that each team would need.
* Each team will be assigned a designated space and will not have access to other spaces besides their own.

**Problem:**

I am trying to use the search function, but the problem is I can't seem to search certain details like ID's that are suppose to be in the spaces.

**Work-around:**

I populated each page with another table with the same details as my global template and just hid it from the users sight, so that my users can search certain details like the ID's.

This work-around isn't going to be a viable one when the volume of spaces, pages, and users increase in the future. So maybe there is something I am missing and somebody can shed some light on that for me.

Any tips are appreciated! Thanks!


Answers:
author: Hassan Aftab
body: Hi Jarvin

Content in the templates are not searchable. Search only shows content which is already in pages of Confluence.

If you want to assign templates specific to each space, I would suggest you to create Space Templates.

Space templates are only visible to teams which have permissions to that space. On the contrary, Global templates are visible to everyone in the site.

Thanks,

Hassan
Switch to different user
Asked by Patrick Vanhoof:

Confluence 6.4. ScriptRunner 5.2.0.

One of the buit in script is to switch to a different user. For auditing purposes: is this logged somewhere? Or can admins do anything in name of another user?


Answers:
author: Jonny Carter
body: Bit late to the answer, but the answer OP was looking for is, yes, ScriptRunner for Confluence does log Switch User actions to the audit log.

You can read more at <https://scriptrunner.adaptavist.com/latest/confluence/audit-logging.html>

comments: author: Jonny Carter
body: This is true for ScriptRunner for Jira \& Bitbucket as well by the way.


author: Jon Tice
body: [Jack Nolddor \[Sweet Bananas\]](https://jira.atlassian.com/secure/ViewProfile.jspa?name=movil.jacknolddor) made a plugin for Confluence that is similar to the Jira User Switcher

[https://marketplace.atlassian.com/apps/1220850/user-switcher-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1220850/user-switcher-for-confluence?hosting=server&tab=overview)

This does not require the paid version of Scriptrunner.

comments: author: Jack Nolddor [Sweet Bananas]
body: Hi Jon, thanks for your message.


author: Alexey Matveev
body: Admins can do anything in the name of another user. I am not sure if it is logged somewhere. Maybe you can find this function and look in the source code of ScriptRunner. There could be debugging messages. You could set debug logging level for the package of the script.

comments: author: Patrick Vanhoof
body: I think that for the purpose of auditing (GDPR) there should be a clear logging of who did what. Surely when doing something in the name of another user. Not through debugging.


author: Jan Koprowski
body: Hi [@Patrick Vanhoof](/t5/user/viewprofilepage/user-id/1131759)

please see the addon "[Fast User Switcher (FUS) for Confluence](https://marketplace.atlassian.com/apps/1219918/fus-for-confluence?hosting=server&tab=overview)". It is easy to use to switch the user to another. And for GDPR purpose it tracks all usage of the FUS addon, as explained on the marketplace page.

To comply with GDPR there is also another tool called "[GDPR (DSGVO) and Security for Confluence](https://marketplace.atlassian.com/apps/1219041/gdpr-dsgvo-and-security-for-confluence?hosting=server&tab=overview)".

All addons are also available for Jira.

Regards,  
Jan


Tags: addon-com.onresolve.confluence.groovy.groovyrunner

built-in-scripts

scriptrunner
JQL question - Time spent in each issue
Asked by Balasubramanyan murugan:

I want JQL - to retrive

**Time taken from "*QA started* \> to \> *reopen*"**

++Can someone please help me create query++


Answers:
author: Lime Trees
body: Hi,

you can have a look at free add-on Status History which will help in your case - more details [here](https://limetrees.atlassian.net/wiki/spaces/LTSH/pages/360459/User+Guide).

You can also try Status History PRO with reports and special viewer - please have a look [here](https://limetrees.atlassian.net/wiki/spaces/LTSHP/overview).

Regards,

Lime Trees Support Team


author: Alexey Matveev
body: JQL can retrieve only issues. You can not retrieve time. You would need to create a custom field, where you would count the time, by using such plugins as Power Scripts or ScriptRunner.

Or you can use Time In Status plugin.


Tags: jql
Insert Links and Anchors
Asked by Joanna de la Cruz:

I am also unable to get Anchors to work on my pages. I followed the suggestion "just delete the current UserGroup anchor, and remake it at the end of the previous section as a new line *above* the heading. It should still link to the heading as expected." That did not work. I have no special characters in my headings, I've followed their instructions, still the anchor jumps to the top of the page. Using [Atlassian Confluence](http://www.atlassian.com/software/confluence) 6.3.2. Does anyone have a real fix yet?


Answers:
author: Robert Reiner _smartics_
body: I do not know where your reference "just delete ..." points to. So maybe I do not understand the context of your question correctly. But whenever I had problems with anchors it has been due to the fact that the name of the anchor is different whether your link is outside or inside of Confluence:

Outside:

```
#PageName-AnchorName
```

Inside (using the link dialog - the translation to the above syntax is made by Confluence):

```
spacekey:pagename#anchorname
```

e.g.

```
DOCS:My page#important information
```

Hope this helps!

Here is another answer concerned with anchors (where I copied the examples from): community.atlassian.com/t5/Confluence-questions/Using-Anchors/qaq-p/330511

comments: author: Joanna de la Cruz
body: Found the reference on another string, I thought I was adding to that string but apparently not. Anyway, figured out the problem: had to make anchor name without spaces or underscore. Instructions were a little wrong (at lease for me).

Thank you.


author: Robert Reiner _smartics_
body: Thank you for your feedback!

BTW: The anchor may contain spaces:

The Anchor Macro:

![anchor-macro.png](https://community.atlassian.com/t5/image/serverpage/image-id/15730iDBF93D5BDDBC3287/image-size/large?v=v2&px=999 "anchor-macro.png")

The Link (in Advanced Mode): Do not encode the Anchor name, preserve the space as is.

![link.png](https://community.atlassian.com/t5/image/serverpage/image-id/15731i9B3BAACEDBC4370C/image-size/large?v=v2&px=999 "link.png")

The rendered HTML

```
<a href="#MyPage-MyAnchor">link</a>
```


Tags: anchor
Index
Asked by Paula Albertini:

No estoy pudiendo crear ?ndices en Confluence.

Necesito crear un manual de usuario de un software.


Answers:
author: Shannon S
body: Paula,

I'm responding here in English, since this is an English language forum. Thank you for your understanding.

You mentioned you're not able to create indices. Can you please elaborate, and confirm your Confluence version?

Regards,

Shannon
How to Stop JIRA filter from updating page
Asked by Casey Maynard:

I have several pages that I would like to include creation of a JIRA filter into the page.

The concern I have is that once the Page is 'approved' the JIRA filter can still be changed (if the JIRA content included in the original query). So now my page has 'unapproved' content.

I want to determine the best practice of 'locking' my pages so that these JIRA filters can be used, and then the query 'locked' at a point in time.


Answers:
author: Timothy
body: There is no way to lock the result of the search. The best way would be to export the data out of Jira and attach it to your Confluence page. Every search is executed at that point of time when you've loaded it.

comments: author: Casey Maynard
body: What method would I use to 'export' these results?


author: Timothy
body: Excel should be your best bet.


author: Sina Abdi
body: I recently made a feature request for this. Please go vote and watch the request to make it implemented. <https://jira.atlassian.com/browse/CONFCLOUD-73154>
Labels on Templates
Asked by Jonathan Mayer:

We've got 2 templates that I require my technicians to use. How-To and Troubleshooting.

The problem is that when they create the articles, it adds a label that we don't want on the article "kb-how-to-article".

I've tried editing the template but there's no where shown how to edit/remove that label from the template.

Any advice is greatly appreciated.

Jonathan


Answers:
author: Robert Reiner _smartics_
body: AFAIK on creation of a new page with a blueprint the *index-key* of the blueprint is added as a label to the new page. This label is used to populate the index pages.

See <https://developer.atlassian.com/server/confluence/confluence-blueprints/>:
> It essentially relies on Confluence labels to be applied to the pages created via Blueprints, which is specified by the `index-key` attribute on the `blueprint` module.

I do not know of a way to suppress this.

This is how the index-key is defined in the atlassian-plugin.xml:

```
<blueprint key="myplugin-blueprint"           index-key="myplugin-index"           index-template-key="myplugin-index-template"/>
```

(example also taken from <https://developer.atlassian.com/server/confluence/confluence-blueprints/>)

There is surely a way to change the name of the label so that it may better suits your requirements. But I am not aware of a plugin that does this for you.


author: Igor M.
body: Hey,

If you are using Confluence Server, you should see labels in templates from **Confluence Administration \> General Configuration \> Global Templates and Blueprints**

**Edit** the template you want and you should see labels above template title

![Screen Shot 2018-02-19 at 21.01.56.png](https://community.atlassian.com/t5/image/serverpage/image-id/15313iEDCF2D0504D8B63F/image-size/large?v=v2&px=999 "Screen Shot 2018-02-19 at 21.01.56.png")


Tags: label
Search for Blog Posts only by current People
Asked by skube:

I'm wondering how one might search for Blog Posts only created by People currently still showing as registered users?


Answers:
author: James Richards
body: Hello skube,

I've been having a look and I can't see an easy way to make this happen. The search in Confluence uses CQL (like JQL, but for Confluence) and there's no field for a user who is current or not.

A search query URL looks like this

**dosearchsite.action?cql=type+%3D+"blogpost"+and+creator+in+("usera"%2C"userb")**

so if you had the list of users, you could just extend out the the section in the parenthesis.

Thanks, James

comments: author: skube
body: I appreciate you taking the time and suggesting at least a workaround.