youngmon/atlassian-qna huggingface dataset:
Return Sprint name from Jira Issue/Filter and list sprints in a given project
Asked by Sheila Shah:

Hi - I'm using Jira and Confluence cloud. How do I get the sprint name to display in confluence for a jira issue/filter in confluence. When I add the Sprint in display options, it is always null.

Ultimately I am trying to display a table that lists sprints for a given project, with the total number of issues in the sprint, number of open and number of closed issues in the sprint and a due date. Is that even possible.


Answers:
author: Edwin Stol
body: Hi - I encountered the same on some cloud instances of clients from us and after discussion with Atlassian, the following bug was raised:  
<https://jira.atlassian.com/browse/CONFCLOUD-71474>  

The mentioned work-around might help for you. In addition; feel free to vote/watch on the ticket.


author: Bruno Rosa
body: Sheila, it looks like you've stumbled onto a bug <https://jira.atlassian.com/browse/CONF-35182> - you can workaround this problem by using the filter macro instead of the JIRA Issue/Filter Macro.


author: Elisa [Atlassian]
body: Hi Sheila,

You will have to go through all the Agile Macros available to see if one fits your needs.

To do that, "Edit" the page you need, click on the "Insert More Content" button and then "Other Macros". Just type "agile" and they will appear.  

Please let us know if you found the one.  

Cheers!

comments: author: Sheila Shah
body: Thanks. The other question: How do I get the sprint name to actually display in confluence for a jira issue/filter in confluence. I see it as a column to add in Display Options of the Issue/Filter but when I add it, it always displays null (there's no data in the column). I also verified I'm not filtering out anything that would cause this to be null.


author: Tony Laycock
body: I'm having the same problem as Sheila. When I choose to display Sprint column in a Jira Issue macro table, it is always blank. If I use the same filter in Jira it displays correctly.If the only workaround that can be suggested is to look for a different macro that works correctly then I guess I should raise a bug report. Unless anyone knows of one that is already raised that I can watch?


author: Louis Hallee
body: Same issue here. I could not find a way to display the Sprint names. This was raised back in 2012 and still no resolution.


author: Tony Laycock
body: Do you have the bug reference please Louis? I'd like to watch and perhaps vote for it.


Tags: cloud
How to set a custom title for "JIRA issues macro" in confluence when display count is used
Asked by rajesh shinde:

Using Confluence 5.5

Able to insert "JIRA issues macro" and use it to display issue count, for e.g, "17 issues" as instructed and illustrated in the "Displaying a count of issues" - <https://confluence.atlassian.com/x/dCAC>

Now, it displays "17 issues". is there a way, via using wiki markup or otherwise, to change this to "17 tasks" or "17 items"?

There is documentation for storage format, as well as wiki format. But it seems wiki format does not work for the Confluence 5.5.

How to change the "issues" part when the JIRA issues macro is used with display total issue count?


Answers:
author: CelesteCS
body: Hello,

You may use a macro, which takes numerical value from the JIRA Issues macro output.

I can advice Numerical Expression macro from [CelesteCS Math for Confluence](https://marketplace.atlassian.com/plugins/com.celestecs.confluence.celestecs-math) plugin. It takes other macro output as input parameters, converts them to numerical values, and performs some calculations over them. In case of JIRA Issues macro it will take "17 issues"text, take 17 from it and use it for its calculations. As a corner case they may be no calculations specified - that's your case - you will specify only one macro inside it and Numerical Expression will show 17 as a result. Other text, like "tasks"or ?tems"may be specified either inside or outside Numerical Expression macro body.

Hope it helps!

Thanks!


author: Julia Wester [Wittified]
body: I think this must be something that isn't currently allowed via configuration. You'd likely have to touch the code to get it to work. I assume that because its not documented.


Tags: confluence-administration
Does a Confluence user have to be in the "confluence-users" group to sign on?
Asked by Chuck Minarik:

We're evaluating an addon that can provide unique dashboards based on user or group. So I created a test group, created a test user and put the new user in the test group...but did not put the user in confluence-users. I assigned the new dashboard to the test group.  

When the test user signed on, this message was displayed: "You are not permitted to perform this operation." The only thing the user can do at this point is sign off.  

If I also put the user in confluence-users, then the custom dashboard is displayed.  

The admin guide says that confluence-users is " the default group into which all new users are assigned"...but it doesn't say all users **have** to be in this group.

Is it a requirement that users be in confluence-users?


Answers:
author: Nic Brough -Adaptavist-
body: Yes, sort of. It is a bit more flexible.

The users **must** be in a group that gives them "**can use" permission** - you can see what is configured there by visiting "global security". The default is just "confluence users" in there off the shelf, but you can add other groups in there, and even remove confluence-users if you want.

comments: author: Chuck Minarik
body: Thanks Nic!


Tags: confluence-administration

group
i can't find a macro to write javascript in confluence pages
Asked by madhu:

i can't find a macro to write javascript in confluence pages


Answers:
author: madhu
body: thanks for your information davin,if we want to write ?

comments: author: Davin Studer
body: There isn't a way to write one for OnDemand. Atlassian only allows certain add ons to be installed in an OnDemand environment. Even if you wrote one they would not let you load it into your setup. You need to host it yourself if you want that functionality.


author: Davin Studer
body: In OnDemand you are unable to write out javascript to the page. This is only available with the self-hosted version.

comments: author: Davin Studer
body: Feel free to mark this as answered. :)


Tags: cloud

confluence-cloud
how can we disable spacetools dropdown button in space side bar for user?
Asked by madhu:

how can we disable spacetools dropdown button in space side bar for user?


Answers:
author: Ryan Goodwin
body: Couple of options:

1. Use css/javascript - [](https://confluence.atlassian.com/display/CONFKB/How+to+Hide+Elements+in+Confluence+Using+CSS+or+JavaScript)<https://confluence.atlassian.com/display/CONFKB/How+to+Hide+Elements+in+Confluence+Using+CSS+or+JavaScript>

2. use available plugins - [](http://www.adaptavist.com/display/Plugins/2011/08/19/Show+the+right+things+to+the+right+people!+Confluence+plugins+to+set+the+visibility+of+elements+in+your+themes+and+pages)[http://www.adaptavist.com/display/Plugins/2011/08/19/Show+the+right+things+to+the+right+people!+Confluence+plugins+to+set+the+visibility+of+elements+in+your+themes+and+pages](http://www.adaptavist.com/display/Plugins/2011/08/19/Show+the+right+things+to+the+right+people%21+Confluence+plugins+to+set+the+visibility+of+elements+in+your+themes+and+pages)

Hope that helps!


Tags: cloud

confluence-cloud
Confluence: after import from a backup no login possible.
Asked by Juergen Philipp:

Hi,

we did a new installation of Confluence, everything running OK.   
Afterwards import a backup from the existing Confluence (which has a connection to the AD for logins). Now no login are possible. Always get "Username and Password are incorrect". With the old User/PW, which I used for installation as well as well as for the ones which are used in the actual Confluence - via AD.

Any idea how that could be solved?

many thanks in advance

Juergen


Answers:
author: Juergen Philipp
body: Sorry to say - no :-(

Could it be that the problem is related to the database? As evaluation is using HSQL and the import is using MYSQL?  
As I couldn't find the entries from a.m. instructions point 2 for HSQL.  
Furthermore if I'm doing changes there, like descriped there, I get error-page with "Referer URL not found" and several Java-errors :-(

Seems I have no chance to get a copy of my existing Confluence running on another PC :-( as I'mn fighting with this now since several days.

Any other idea :-)


author: Guilherme Nedel [Atlassian]
body: Hello Juergen, there is a chance that Confluence is reading from previous app configurations as per imported data. In order to regain access you can perform the needed changes through the database, as outlined in the "Restoring Passwords To Recover Admin User Rights" doc which can be [accessed here](https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights).

Hope it helps!
Hyperlinks in the blog summary view do not work?
Asked by Dan Hellings:

We have version 5.4.4 of Confluence (non-clustered), and an issue has been raised about why hyperlinks do not work in the blog summary view. If you click on the blog post header and enter the post then the link works fine. Is there a fix for this?


Answers:
author: Dan Hellings
body: Hello again, well after speaking to the guys at Atlassian it turns out that this is already raised as a defect (#**CONF-34197** ). Click [here](https://jira.atlassian.com/i#browse/CONF-34197)to view the Defect and if you want it to be a higher priority then vote and watch this defect by clicking on the links on the right of the page.

**Issue Summary:** The issue is that when you have on a page a Blog Posts macro that is set to show the excerpts content type then the hyperlinks will not work when viewing that page. They work if you go into the blog post item or have the macro set to Entire content type, but they don't when viewing the post via the blog posts macro with the excerpts content type.


author: Dan Hellings
body: Hi guys, I still havent heard back about this one. I am just wondering if this is standard functionality and whether it's been fixed/going to be fixed in a later version?
What pricing option to choose for plugin license
Asked by MilanCiti:

Hello

After Confluence upgrade in test environmnet from 3.5.7 - 5.5, some of the plugins are started to be commercial and now I need to estimate cost for each plugin ( several of them ). For example former Table Plugin , now Advanced Tables for Confluence has Pricing for 10user,25users, 100, 500, 2000, etc ...

Since our Confluence has commercial licesne for 2000 users, does it mean that I need to choose pricing option for certain plugin for 2000 users, as well ?

Or, first I need to determine number of users that will use certain plugin and then I should proceed with purchase. Any hint or suggest is welcome. Thank you.

Regards,

Milan Stakic


Answers:
author: MilanCiti
body: I found in Pricing FAQ following for 'Advanced Tables for Confluence' :
How do I determine my pricing tier?

Choose the same user tier you pay for in the Atlassian host application. For example, if you have a JIRA Server license for 25 users, you should purchase this tier.

Even if fewer users want to use the add-on than your host application license, the two licenses should match exactly.


Tags: confluence-administration
Confluence add automatically group confluence users when creating a new space?
Asked by Hanna Kutkowska:

Hi,

when creating a new space I discovered that Confluence adds automatically the group called "confluence-users" to space permissions. We user Crowd directory and this group is already removed. How can I get rid of this function so I do not have to delete this group from space each time I create one?


Answers:
author: Elisa [Atlassian]
body: Hi Escuire,

You cannot change that. :/

This configuration is the default and is linked with the application access of each atlassian product.   
E.g.: Confluence: confluence-users; JIRA: jira-users, etc.  

Best of luck!


Tags: confluence-administration
Hide banner on particular confluence page?
Asked by Therese Lalor:

In my space, I have configured the Documentation theme to include a banner at the top of each page.

However, I do not want the banner to appear on the home page. I found some code which I have been using to hide the sidebar on the home page (see below)

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ``` <script>  var selectors = ['#splitter-sidebar','.vsplitbar', '#splitter-button', 'header-menu-bar'];   AJS.$.each(selectors, function(){     AJS.$(''+this).hide();   });  AJS.$('#splitter-content').css({'width':'100%', 'left':'0'});</script> ``` |

I was hoping to modify this code to also hide the banner. However, I can not find the selector name for the banner anywhere.

Does anyone know what the selector name is?


Answers:
author: Davin Studer
body: I believe this is what you want. Any modern browser these days has a developer tools feature. This is super hand for figuring out stuff like this. Do some googling on [debugging css with developer tools](https://www.google.com/?gws_rd=ssl#q=debug+css+with+developer+tool).

```
#theme-header {    display: none;}
```

comments: author: Davin Studer
body: Does this css work for you?


author: Therese Lalor
body: I just tested it and it worked! Brilliant. Thanks so much


author: Alejandro Conde Carrillo
body: May be you could use the html macro to add some CSS to the page and hide banner.

comments: author: Therese Lalor
body: That is exactly my intention.This issue is that without knowing the selector /variable name for the banner, I can't tell it what to hide!

Essentially I have the code to say "hide X", but I can't figure out what X is.
How can I make external links from Confluence open in a new tab?
Asked by Danny Lorenty:

I can't seem to get any help from any of the articles on here. Could anyone help, please?


Answers:
author: Davin Studer
body: In the custom html seciotn of Confluence Admin add this to the after body section.

```
&lt;script type="text/javascript"&gt;AJS.toInit(function () {  AJS.$("a[href^='http']").not("[href*='" + location.host + "']").attr('target','_blank');});&lt;/script&gt;
```

comments: author: Danny Lorenty
body: Worked like a charm! Thank you so much, Davin. Much appreciated.


Tags: confluence-administration
Cannot login as admin after moving servers
Asked by Adap.tv Operations:

Hey guys,  
I just migrated my database and home folders to a new server in an effort to create a sandbox for upgrades and testing. Currently I am unable to log into the system. I attempted to follow the steps in this article ([](https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights)<https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights>) you guys have posted but I've still come up empty.  
After trying to create the admin user using,  
**insert** **into** cwd_user(id, user_name, lower_user_name, active, created_date, updated_date, first_name, lower_first_name, last_name, lower_last_name, display_name, lower_display_name, email_address, lower_email_address, directory_id, credential) **values** (1212121, 'admin', 'admin', 'T', '2009-11-26 17:42:08', '2009-11-26 17:42:08', 'A. D.', 'a. d.', 'Ministrator', 'ministrator', 'A. D. Ministrator', 'a. d. ministrator', '[](mailto:admin@example.com)[admin@example.com](mailto:admin@example.com)','[](mailto:admin@example.com)[admin@example.com](mailto:admin@example.com)', (**select** id **from** cwd_directory **where** directory_name='Confluence Internal Directory'), 'x61Ey612Kl2gpFL56FT9weDnpSo4AV8j8+qx2AuTHdRyY036xxzTTrw10Wq3+4qQyB+XURPWx1ONxp3Y3pB37A==');  
I get the response of,  
ERROR 1048 (23000): Column 'directory_id' cannot be null  
Please advise.


Answers:
author: Jaime S
body: Hello there.

You seem to be getting the directory name for your Confluence from a select. I would advise you to first run the select without the insert and see if it returns something. Also, you need to add a space after 'select'.

If it returns something, you can simply replace the select by the directory_id. For what your error says, it seems to me that your select does not return anything, that is why it is saying it cannot be null. You can run the following select that will show you the available directories:

select \* from cwd_directory;

This is basically the same select with not conditions, so it will show everything. From them you find the confluence directory to use in your insert.

To summarize:

\* Run **select** id **from** cwd_directory **where** directory_name='Confluence Internal Directory'

\*\* Does it return something? If not, this is the problem

\* Run select \* from cwd_directory;

\* Select one directory id from the list

\* Run your select replacing the select by the chosen directory id.

I hope it was helpful.

Kind regards.


Tags: confluence-administration
How to enable Firefox spell checking in Confluence?
Asked by Robert Lauriston:

I used to have Firefox spell checking when editing pages in Confluence. Just noticed today that I do not. It's enabled in Firefox and works on other sites. Is there some way to get it back or is this yet another reason to switch to Chrome?

Confluence 5.4.4, Firefox 31.0.


Answers:
author: Robert Lauriston
body: Has not been a problem for a while.


author: grsgef grgewf
body: Spellcheck in Chrome works fine, but not in Firefox! Also tested it on a trial confluence cloud instance, same thing. Firefox version: 64.0.2


author: Gavin Bunney
body: Check out the new spell check plugin \[Spellproof for Confluence\|<https://marketplace.atlassian.com/plugins/au.net.bunney.spellproof.plugins.spellproof-confluence/server/overview>\] now available on Atlassian's Marketplace.

You can check spelling and grammar on your Confluence pages in three different languages - English, French and German.

\> Disclosure: I work on the Spellproof plugin :smile: We would love any feedback!


author: Davin Studer
body: The spell check functionality is not a fucntion of the wiki. That is implemented by the browser and if the browser is not working correctly you should look there for the fix.

comments: author: Luis Ferro
body: That is not 100% truth. If the software is using non-standard ui elements to "emulate" a text box, the browsers (regardless of brand) may fail to activate the spellchecking on that ui element.

This is still an issue 6 years after.


author: Robert Lauriston
body: Looks like it's an intermittent problem, just came back. I guess it's yet another reason to switch to the better wiki that somebody might come out with one of these days.
How to remove background color of a cell in a table in Confluence
Asked by David Fisher:

I have set some background colors on cells in a table. I inserted a new column and these cell colors were duplicatd in the new column. How do you remove a background cell color. I have set the the "set cell color" to none and it still does not remove the color. Using page edit in Confluence 5.5.2


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Maybe add the style attribute?

```
style="background-color: #HEXCODE;"
```

comments: author: Jobin Kuruvilla [Adaptavist]
body: Probably replied too fast. This is for dev. If you are talking about Confluence editor, this doesn't apply!!


author: David Fisher
body: I am still waiting for a solution. As you know, your response was not relevant.


author: Steven F Behnke
body: It sounds like it's bugged out. Can you copy the table to another Confluence page and confirm that the issue happens over there?


author: David Fisher
body: I copied it over to a new page and the same thing happens. I can add a color backgroung to an exisiting cell and change it back to none. I cannont change the exisitng background of a cell back to none.


author: Leo
body: I had the same problem -- I just manually recreate the those cells and paste the contents from the colored ones and then delete the colored ones. --- works if you don't have a lot cells to handle.


author: Felicia Hsieh
body: It's October, 2016, and the problem still exists


author: David Fisher
body: Any updates on this?


Tags: column

image

table
Confluence usage stats plugin performance issue
Asked by Niharika Shrivastava:

If our system is running slow, how do we identifu that the reason for this is 'confluence usgae stats plugin' or not.


Answers:
author: Jonathan Smith
body: [@Niharika Shriva](/t5/user/viewprofilepage/user-id/573529) ,

While the Confluence Usage Statistics was enabled, our CPU spiked. We sent logs off to Atlassian, who then responded back that the stuck threads were due to the Popular macro.

Once the Confluence Usage Statistics was disabled, space activity and the popular macro are no longer options, however our global search sped up.

I guess if your pages load a bit faster or your search is quicker, you know that system macro is the issue.

- Jonathan


author: Steve Gerstner [bridgingIT]
body: first install the monitorin plugin -\> this gives you an overview if your database is slow -\> In case of a slow db you can try setting some indices on slow queries

then enable logging on the server side for your request logs -\> this gives you information on the request performance, if it's ok, it's on your infastructure

besides that, you can enable plugin safe mode -\> determines if on of your plugins is the reason -\> If your performance is back to normal in the safe mode, enable on plugin after another until you get performance issues and you got your problem

Regards

Steve


author: Steve Gerstner [bridgingIT]
body: Hi,

the easy way, disable the plugin and look if the performance is getting better.

But, first, I would take a look on your http traffic. How long is a page loading. How long is your html-page-request, how long are the other pages loading.

If the html-request is loading fast then 2 seconds it's not nice but ok. There is a jmx metric for this called tenlastrequests. What values do you get there and are those values different from the ones in your browser (this will point to a network problem).

If it's smaller then 2 seconds or better we re talking about one second, its ok, if not, you need to profile.

Take a look on the monitoring plugin, it will show you slow database queries. Maybe you have aproblem there

Use caching strategies for static content like images, css- or js-files. And so on...

Can you give us an update about this points?

Regards Steve

comments: author: Niharika Shrivastava
body: Thanks Steve! could you also share your email id, I need some more technical help. Thanks in advance.


author: Steve Gerstner [bridgingIT]
body: Can't we discuss is it here, so somebody else with the same problem could be helped?


author: Niharika Shrivastava
body: sure..our confluence instance performance has reduced (takes longer time to load). How do I identify the reasons of slow performance. I tried enabling profiling but it didnt help much.

I want to know from where shall I start and How/what do I identify/monitor and fix.
Confluence. Daily mail reports doesn't work after upgrading to v. 5.5
Asked by Andrey Balayan:

2014-07-30 14:57:28,162 ERROR \[scheduler_Worker-4\] \[confluence.mail.jobs.DefaultDailyReportManager\] queueDailyReportEmail Failed to create daily report for user admin   
com.google.template.soy.tofu.SoyTofuException: In template Confluence.Templates.Mail.Utils.userLink: When evaluating "baseUrl() + '/display/\~' + $user.name": Attempted to coerce undefined value into a string.

Tried different combinations (safe mode (without add-ons), changed "hostname" in General Settings, turn on/off Daily mail reports service), but all to no avail.

Help me, please.


Answers:
author: Kristof Vandermeersch
body: See <https://jira.atlassian.com/browse/CONF-33875>


author: IshanL
body: @Andrey Balayan , Did you find the root cause? I also see this error in my logs.


Tags: email

report

schedule