youngmon/atlassian-qna huggingface dataset:
Make status comments easier to access?
Asked by ITops123:

The status comment feature (<http://confluence.atlassian.com/display/CODEGEIST/Confluence+Status+Comment>) is great and we have it installed in our instance of Confluence.

But it's hidden away on a tab in each person's profile, which makes it difficult for people to add comments on the fly to a status update or to see when someone has commented. Has anyone figured out a way to make this more visible/accessible?

I looked in Atlassian Plugin Exchange but didn't see any place to ask questions about this feature, but please redirect me if this isn't the right venue.


Answers:
author: Justin Shapiro
body: Email works. You can also raise an issue:

issue page - <https://studio.plugins.atlassian.com/browse/STATCOM>

The plugin includes a macro you can place on any page

{statuscomment}

Optional Parameters:

size: **10** - An integer representing the number of statuses to show.

who: String representing the users who's status should be shown. Valid values include 'watchers' to get statuses of all watchers of a page or a comma separated list of userIds. Omitting this parameter will result in the status for the current user being shown.

includeFollowing: true,**false** - Specifies whether to include the statuses of users being followed by identified users.


author: Stefan Kohler
body: On a other note (and not as answer), wat would be a good way to make such funtionality more accessible? Do you have an suggestion for that?

I'm working on a plugin which enables more or less the same functionality but more on a mentions ways (like ie. twitter does)


author: Stefan Kohler
body: The "Confluence Status Comment"-plugin was once an entry on the codegeist maybe 2 years ago and the current status of the plugin states: *unsupported.* I guess that the developer who created plugin isn't activily supporting it anymore, but you could always [e-mail](https://plugins.atlassian.com/plugin/details/14420) him to check.

It happens quite offten to plugins, the original developer can't find the time or motivation to support his entry. It's something to verify before adding it to your instance.

comments: author: ITops123
body: Yeah, I noticed it that it was a Codegeist entry that looked pretty promising. My other hope is that this year's Jitter entry will be made available for Confluence (not just Jira)


author: Stefan Kohler
body: drop me an email at *me \[at\] stefankohler dot nl*, I working on something that might interest you. Could give early access for some feedback.


Tags: status
Reporting number of status updates?
Asked by ITops123:

How can I create a report on the number of status updates created by users since a certain date? We have been pushing this feature a lot and would love to see if our number of status updates has gone up.


Answers:
author: Remo Siegwart
body: If you want to solve this with the SQL plugin, the query would probably look something like this:

```
SELECT creator AS 'Username', COUNT(*) AS 'Number of status updates'FROM contentWHERE contenttype = 'USERSTATUS'AND creationdate &gt;= '2011-11-22' -- insert your date filter hereGROUP BY creatorORDER BY creator
```

Find more information about the [Confluence Data Model here](http://confluence.atlassian.com/x/bYKXBw).

Hope this helps


author: Gert-Jan van de Streek
body: One option is to write a custom supplier for the [reporting plugin](http://wiki.customware.net/repository/display/AtlassianPlugins/Reporting+Plugin). When you have that supplier you can report on all your users or specific groups or whatever selection you require.

A custom supplier is easy to write, it would look somewhat like:

public class UserInfoSupplier implements Supplier {

private UserStatusManager userStatusManager;

public Object getValue(Object context, String key) throws UnsupportedContextException, SupplierException {

User user = (User) context;

return userStatusManager.getUserStatusCount(user);

}

}


author: Stefan Kohler
body: There is no function available for doing something like that. You could create your own plugin or macro to get some report like this. Plan B could be using the SQL plugin and query the database, but I would not recommend it)

```
## Macro title: User Status Count
## Macro has a body: N
## Body processing: No macro body
## Output: HTML
##
## Developed by: Stefan Kohler
## Date created: 29/06/2011

## @param Username:title=username|type=string|required=true|desc=Username of the user

#set($containerManagerClass=$content.class.forName('com.atlassian.spring.container.ContainerManager'))
#set($getInstanceMethod=$containerManagerClass.getDeclaredMethod('getInstance',null))
#set($containerManager=$getInstanceMethod.invoke(null,null))
#set($containerContext=$containerManager.containerContext)
#set($userStatusManager=$containerContext.getComponent('userStatusManager'))

$userStatusManager.getUserStatusCount($paramUsername)
```

This user-macro would do the trick, only downside is that you have to add it for every user in your instance

```
{userstatuscount:Username=stefan}
```

comments: author: ITops123
body: I know you said you don't recommend doing a SQL query, but I'm using the SQL plugin to run other queries. If it is possible, I'd like to use this approach. Also, we have about 400 users, so I can't use a by-user macro.

Can you tell me what tables I need to query to count the status updates?

Additionally, where can I get a list of tables I can query using postgre with Confluence? I can only find examples of SQL queries but this doesn't help me get a comprehensive look at what's possible.


Tags: report

status

update
How to make content searcheable which is included using {include} macro?
Asked by Pooja Gandhi:

We are trying to Single source thousands of our doc pages for reuse release after release and across spaces by:

1) Converting our existing docs to more modular docs.

2) Including the content for future releases rather than recreating the space

3) Including the content from Single Sourced space into other spaces

The major issue with this approach is that content that is included is not searcheable in wiki. Please help us figure out ways to do that?


Answers:
author: Micha Kops
body: Sarah Maddox wrote an article that might help you here .. she suggests using the cache macro in combination with the include macro: <http://ffeathers.wordpress.com/2011/05/15/making-the-include-macros-content-appear-the-confluence-search-results/>

comments: author: Bob Swift (personal)
body: Similar references are:

* [How to make include macro content appear in Confluence search results](https://studio.plugins.atlassian.com/wiki/display/CACHE/How+to+make+include+macro+content+appear+in+Confluence+search+results)
* [How to index external content using the CACHE macro](https://studio.plugins.atlassian.com/wiki/display/CACHE/How+to+index+external+content+using+the+CACHE+macro)


author: GilesG
body: You might also want to vote on the following issue to improve the chances of this feature being incorporated into Confluence itself:

[CONF-19054](https://jira.atlassian.com/browse/CONF-19054)
Is there a way to to lock a Confluence page for editing purposes?
Asked by Robbie Lee:

I have a coworker who would like to know if there is a way to lock a Confluence page for editing purposes--so that other user cannot edit the document at the same time.


Answers:
author: Stefan Kleineikenscheidt _K15t_
body: To lock a page, you can use page restrictions (Tools \> Restrictions): Then select "Restrict editing of this page" and click "me".

comments: author: David at David Simpson Apps
body: This will at least prevent others from editing the page :)


author: Paul chumak
body: Where do i find "Tools"? I don't see this anywhere..


author: David at David Simpson Apps
body: Try the "..." button on at the top right of the page -- it used to say "Tools", but is now more cryptic


author: Andrei [errno]
body: if you are talking about locking attachmens:  
checkin/checkout is not supported with default Confluence features, but there are a couple of plugins that are built to solve this problem:

* <https://plugins.atlassian.com/plugin/details/36199> (**commercial)**
* <https://studio.plugins.atlassian.com/wiki/display/CHKOUT/Confluence+Attachment+Checkout+Plugin> (this plugin has some issues now)


author: Raphael
body: I also meet the same questions. it seems in new version , they have a new feature called "*Collaboration Editing*", then we can limit how many users can edit a page at the same time.

I find in old version, many users editing one page may cause database deadlock.


author: Susan Vineyard
body: I have an additional question. Is there a way to check-in check-out a space? Sure, I can do it with permissions, but I'd like to have something easier and more transparent.

Thanks


author: Robbie Lee
body: document = Confluence page


author: Stefan Kleineikenscheidt _K15t_
body: What do you mean by document? A page or attachment?
What are the Wiki Label Limitations?
Asked by M:

What are the max amount of characters that can be used for a label, and what characters are labels limited to...alphabet, numbers, etc...


Answers:
author: Laura Kolker
body: Not sure about size restriction. I've found the following characters are restricted:

```
!#&()*,.:;<>?@[]^
```

also whitespace.

If you ever want a reminder from confluence, just put a semi-colon in the labels UI, and it will give you a nice clear list.


author: Jeremy Largman
body: The max size for labels is 255 characters. Confluence will give you a nice red error message if you try to enter more. 255 is plenty!
Mass upload of profile pics
Asked by Damian Knight:

Hi

Has anyone figured out a way of doing a mass upload of users' profile pics?

Cheers


Answers:
author: Ian_Gordon
body: Hi Damian,

We have implemented a plugin that does just this.

More information at the Atlassian Marketplace for the [Enterprise Profile Pics for Confluence](https://marketplace.atlassian.com/plugins/com.equionconsulting.confluence.epp) plugin


author: JamieA
body: Would be simple enough using a plugin, a script, or just a bunch of curl commands, however I think it would be better to pressure Atlassian into supporting a gravatar-like service [JRA-24653](https://jira.atlassian.com/browse/JRA-24653), as Fisheye already does.

Otherwise it's a constant pain to keep the pictures uptodate, and deal with the fact that users can upload their own picture which you probably would not want to overwrite, etc etc.

EDIT: I just saw you tagged confluence, but I believe my comments equally apply to jira and confluence.


author: BernardoA
body: Just to clarify your question...Do you want to upload the same picture to use for all users at the same time?

If you want ot implement a new feature in a future version of Confluence, please feel free to submit a feature request at [http://jira.atlassian.com](http://jira.atlassian.com/ "http://jira.atlassian.com"), and we will study the possibility of developing.  

For more information on how Atlassian implements new features and??improvement please see the following document: Implementation of New??Features and??Improvements: <http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy>

Cheers,

Bernardo

comments: author: Damian Knight
body: Hi Bernardo

No, I want administrators to be able to control what pictures are displayed for users. Ultimately, it would be good if it could link to the Active Directory profile picture.

Cheers

Damian
Replicate native blog post table of contents on a page?
Asked by ITops123:

We have started some blogs and are feeding them onto a page in our space using the {blog-posts} macro. Unfortunately, this macro does not allow for time intervals more sophisticated than "posts from the last week" or "posts from the last x number of days."

We will have a large collection of posts pretty quickly and would like to allow people to browse the archive from the page, rather than clicking through to 'viewrecentblogposts.action?key=SPACEKEY' in order to see the native blog table of contents.

How can we replicate this table of contents, which appears natively on 'viewrecentblogposts.action?key=SPACEKEY' on the blog page?

![screenshot of toc we'd like to replicate on page](http://dl.dropbox.com/u/5263943/blog%20posts.png)


Answers:
author: ITops123
body: I didn't quite find the solution but this Adaptavist macro is a good stopgap for me. Hope it helps others.

<https://www.adaptavist.com/display/Builder/blog-calendar+macro>


author: Gert-Jan van de Streek
body: There is no out of the box macro that shows this table of contents. You can always write a custom macro that searches for blog posts and displays a nice table of contents.

comments: author: Gert-Jan van de Streek
body: I digged up some code we wrote that shows a table of contents. It has nice parameters like:

space-key; The space to get the blog posts from

max-results; The maxium number of blog posts to display

min-age; The minimum age of the blog posts (for example; '30m', '6h', '30d', '10w'. m = minutes, h = hours, d = days, w = weeks)

max-age;

link-length; The maximum length of the blog post title

labels; A comma separated list of labels, only blog posts with one or more of the labels are displayed


author: ITops123
body: Thanks for the suggestions!
Importing from Word - Ordered lists do not carry over
Asked by Jason Vance:

I have imported several MS Word 2007 (.docx) documents that contained ordered lists. Each time I view the resulting wiki page in Confluence, I find that all of the numbers change to "1". Oddly, sub-lists (a,b,c,d) remain intact --- it seems to be just the "top level" of the ordered list.

Has anyone else seen this, and/or come up with a solution?


Answers:
author: Jason Vance
body: Appears to work now with Word 2010 and latest version of Confluence On Demand (as of 11/23/13)


author: Mary Jo Dockman
body: So you've confirmed that it works with Word 2010? Our company is using Word 2007. If Word 2010 makes the import to Confluence seamless, then I let the powers that be know.

Can someone from Atlassian chime in on this issue too? Thanks...


author: Mary Jo Dockman
body: I'm using Conf 5.1.2 and this happens to me and it's critical that I find out how to fix the issue so that the MS Word .docx documents import numbered lists exactly as they are in the Word document.


author: RyanA
body: Which version of Confluence?


Tags: import
width problems: code section inside panel section
Asked by Thomas Ehardt:

I am trying to create a document with two columns: the first one being code and the second being a description of that code.

The basic setup is this:

```
{section}
{column:width=50%}
{panel}
h1. Code column
{code}
// code goes here
{code}
{panel}
{column}
{column:width=50%}
{panel}
h1. Explanation column
_something useful goes here_
{panel}
{column}
{section}
```

The problem is that if the text in the {code} section is wider than the column, it will cause the column to take up size accordingly instead of keeping the block at 50%.

Has anyone else run into this issue and/or does anyone have a workaround?


Answers:
author: David at David Simpson Apps
body: The problem is that by default, table cells expand to the size of their contents.

This kind of thing should do the trick:

```
<style> table.sectionMacro { table-layout: fixed; } </style>
```

You'd need to add it to the custom stylesheet -- either in Space Admin or Confluence Admin.
How to get Recently updated AID Names using recently-updated macro
Asked by Ranganatha K:

Hi,  

I am new to conflunece. My requirement is to list all the AID names which are updated recently. If I use recently-updated macro, it gives me the list of pages Updated in AID however I need to Display the name of the AID. could you please let me know if there is any display option? Or any other way to achieve it?


Answers:
author: Colin Goudie
body: What's AID?
reporting-plugin question: Is it possible to get a specific entry when reporting on table-data?
Asked by Justin Shapiro:

I want to create a status log using table-data.

This is what my table looks like:
> {table-data:Entries\|order=descending}   
> \|\| Date \|\| Reporter \|\| Tool \|\| Status \|\| Notes \|\| Attachment \|\| CM \|\|   
> \| {date-data:DateTime\\\|format=yyyy-MMM-dd HH:mm}now{date-data} \| {list-data:Reporter}{user-options:match=all\|default=@self}{user-options}{list-data} \| {list-data:Tool\\\|required=true}{list-option}Bamboo{list-option}{list-option}Confluence{list-option}{list-option}Crucible{list-option}{list-option}Fisheye{list-option}{list-option}Git{list-option}{list-option}IM{list-option}{list-option}JIRA{list-option}{list-option}Nexus{list-option}{list-option}Subversion{list-option}{list-option}Other{list-option}{list-data} \| {list-data:Status\\\|required=true}{list-option:label=Broken}(x){list-option}{list-option:label=Not Sure}(!){list-option}{list-option:Label=Fixed}(/){list-option}{list-data} \| {text-data:Notes\\\|type=area\\\|width=300px\\\|height=150px}{text-data} \| {attachment-data:Attachment} \| {list-data:CM\\\|required=true}{list-option}New{list-option}{list-option}Investigating{list-option}{list-data}\|   
> {table-data}  

I'd like to use the reporting plugin and show just the last entry for a given tool. So I tried something like:

> {report-table}   
>
> {local-reporter:data:Entries}   
> {text-filter:data:Tool\|include=Bamboo}   
> {local-reporter}   
>
> {report-column:title=Tool}{report-info:data:Tool}{report-column}   
> {report-column:title=Status}{report-info:data:Status\|render=wiki}{report-column}   
>
> {report-table}

Is there a way to just show the last entry in the list returned?  


Answers:
author: Akeles
body: Hi Justin,

You can use the MaxResults parameter to limit the number of entries to be returned. You might want to include a [date-sort](http://wiki.customware.net/repository/display/AtlassianPlugins/date-sort) too,

<http://wiki.customware.net/repository/display/AtlassianPlugins/report-table>

comments: author: Justin Shapiro
body: {report-table}

{report-block:maxResults=1}

{local-reporter:data:Entries}

{text-filter:data:Tool\|include=Bamboo}

{date-sort:data:DateTime\|order=descending}

{local-reporter}

{report-body:injected=true}

{metadata:Bamboo\|hidden=true}%data:Status%{metadata}

{report-body}

{report-empty}

{metadata:Bamboo\|hidden=true}(/){metadata}

{report-empty}

{report-block}

{report-table}


author: Justin Shapiro
body: So, I used this answer in conjunction with the metadata plugin then constructed my summary table.

\|\|Tool\|\|Status\|\|Version\|\|Upgrade Plans\|\|

\|Bamboo\|{metadata-from:@self\|Bamboo}\|3.1.1\| \|
UWC Twiki attachment import
Asked by Andrew Hoult:

Hi,

I've managed to successfully import our old twiki text into confluence and with html plugin enabled things look promising...

However, all the attachments are missing despite seemingly using the correct path for the attachments. There are many of them within subfolders under the twiki/pub/company directory.

I'm using the java gui applet under server 2008 after copying across files from a linux twiki server.

As mentioned- I can connect to confluence just fine and upload pages but I see no attachment activity in the GUI at all.

Do I have to convert attachments one folder at a time??


Answers:
author: Laura Kolker
body: Just as a follow-up for future readers, this went over to support, and Andrew figured out that he needed to set his attachment directory one directory level higher than he had been setting it.

So, for example: he was using directory: /some/path/pub/something

and he needed to set it to: /some/path/pub.

(Andrew, did I describe that correctly?)

comments: author: Ada Lin
body: Hi, LauraI have the same question with Andrew that I see no attachment activity in the GUI of UWC.I have copied the pub directory from TWiki server to my computer.How to set the path to successfully upload files to confluence?Thanks.


author: Laura Kolker
body: I'm hearing that you've [set your attachment directory](https://studio.plugins.atlassian.com/wiki/display/UWC/UWC+Twiki+Notes#UWCTWikiNotes-Attachments) already, but you're not getting attachments uploaded.

I think I would need to see your uwc.log to help diagnose what's going on. (Could be config related, could be you've hit a bug.)

Here's what I'd like you to do:

1. [turn on debug logging](https://studio.plugins.atlassian.com/wiki/display/UWC/UWC+F.A.Q.#UWCF.A.Q.-HowdoIturnonDEBUGmessages%3F)
2. Rerun your conversion so it will be captured in the log with debug messages
3. Upload it somewhere I can get access to it. Unfortunately, that does not appear to be here, as I don't see a way for you to post an attachment. I suppose you could [email it to me](mailto:laura.kolker@gmail.com). Or maybe open a [support.atlassian.com](http://support.atlassian.com) ticket? If you ask them to cc me, then you'd be able to provide your log file as an attachment to that issue.

Laura


Tags: universal-wiki-converter
Default label for blog posts?
Asked by ITops123:

Is it possible to set a default label for blog posts in a particular space? We are concerned that our users will contribute to the blog but not remember to add the correct label (which helps us render the updates on other pages).


Answers:
author: Jeanmarie McFadden
body: You might have found this by now, but in case you haven't, here is a user macro that should do the trick:

<https://confluence.atlassian.com/display/DISC/Automatically+label+news+post>

JM


author: David at David Simpson Apps
body: It sounds like you'd want a custom plugin that uses an EventListener to listen for BlogPostCreateEvents and automatically adds the relevent labels. This plugin would allow you to specify default labels on a per space basis

* [Find out more about Event Listener Modules](http://confluence.atlassian.com/display/CONFDEV/Event+Listener+Module)

comments: author: ITops123
body: Thanks for the advice!


author: Sharn
body: I don't know about any approach to set such powerful information as mark. \<a href="[https://s3.amazonaws.com/riocodes/lightninglabels-coupons.html"\>Lightning]() Labels Promo Codes\</a\> Anyway you can include names "consequently" by characterizing a format and add those marks to the layout. Each page in light of the layout will "acquire" the concurring names.


author: Jussi Savolainen
body: Hi,

Just a follow up question whether you found a solution for this problem or not? Apparently there are no means of creating blog post global templates?

Best regards,

Jussi

comments: author: Coline Macorol
body: and almost six years later...

The add-on ["Templates for Blog Posts"](https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.blogpost-templates/server/overview), by bitvoodoo, works for creating blog posts templates and assigning each one or several labels.


author: justindowning
body: You can use the [add-label](https://www.adaptavist.com/display/AtlassianConfluence/add-label+macro) macro in a page template. That would be easy!

comments: author: ITops123
body: That's true, but I don't think you can suggest page templates for blog posts. At least, I can't figure out how to set a template for a blog entry. If you have suggestions around that, the add-label macro would be a good solution.


Tags: blog

template