youngmon/atlassian-qna huggingface dataset:
I have a trouble with collaboration
Asked by Sergei Cherevko:

when i want to edit the page or create a new empty page, confluence freeze. When i disable collaboration - all ok, but i have to repair collaboration. what should i do? i may sent logs. Please help me


Answers:
author: Krisztian Kovacs
body: hi there,

There is a whole page at Atlassian, dedicated to problems with the collaboration tool: <https://confluence.atlassian.com/confkb/collaborative-editing-and-synchrony-troubleshooting-858584399.html>

Most of the time, in my experience, it's a network issue. Either the port of synchrony is not open or something stops the communication (firewall maybe).

I hope this helps somewhat.

Cheers,  
Krisz

comments: author: Sergei Cherevko
body: this function (collaboration) don't work without internet? This feature needs internet? or no? what does it need (i mean network) resolving any names or something?


author: Krisztian Kovacs
body: It should not require internet to work, only that your browser can reach the confluence serve and vice-versa.

There is some info here: <https://confluence.atlassian.com/confeap/administering-collaborative-editing-847355676.html>

I don't know how you set up your system (and shouldn't, of course), so I can only give you some guesses regarding what the problem could be.

Let me know if the page I shared is any help.
Not Permitted to access jira confluence
Asked by KGI SG Admin:

we having difficulty to access jira confluence under different administrator account login.

so far thats only 1 login was able to access jira confluence which is sysadmin.

our account have assigned as administrator unfortunately no right to access to confluence.

please advise which setting need to be done in order to allow others account to access confluence.

Thanks

JIRA Self Hosted

Terry


Answers:
author: Sloan
body: Hi Terry

If you lost access to your Confluence admin have a look at this Knowledgebase article: [https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html?)

For JIRA: <https://confluence.atlassian.com/jira/retrieving-the-jira-administrator-192836.html#RetrievingtheJIRAAdministrator-ForJIRAversionsabove6.2.1>:

++To allow confluence access in general++ a user must inherit the "can use" global permission. You can learn about global permissions here: <https://confluence.atlassian.com/doc/global-permissions-overview-138709.html>

Administrator privileges are granted through the group membership of confluence-administrators.

Please see the guides respecting your used versions.

Cheers  
Nick
I have permission to view the page right now but the page doesn't open
Asked by Dmitrij Kuba:

<https://wiki.andersenlab.com/display/PROS/Prosomo+Home>  
I can't view this page


Answers:
author: Nic Brough -Adaptavist-
body: Please, describe "can't view". Crash? Error? Menacing penguin jumps on the keyboard when you click?


Tags: permission
User id in HTML Macro in confluence
Asked by sanan sanan:

Hi,

I am using HTML macro in Confluence and want filter the data in a field on the basis of user who is logged in.

Can somebody help me how to detect in the html macro, the current user who is logged in Confluence? will be a great help.

Thanks

Sanan


Answers:
author: Stephen Deutsch
body: Hi Sanan,

In Javascript, you could use AJS.params.remoteUser to get the current logged in user's username.

comments: author: sanan sanan
body: Hi stephen,

thanks for your reply. I will try it out and let you know what happened.

Regards

sanan


author: sanan sanan
body: Hi Stephen,

This realy works. Infact, it can work from javascript file also I have on the server.

I have one more question. AJS.params.remoteUser gives back the userid . is there any way to get the full name of user?

The data I have have is mapped to the full username . if can catch full user name in the html macro then I can just compare and match with the user name column in the datasheet.

Regards

sanan


author: sanan sanan
body: OK. i got it. is AJS.params.currentUserFullname


author: Stephen Deutsch
body: Good, you could also get it as AJS.Meta.get("current-user-fullname")

That searches through the \<meta\> tags on the page, which also have some extra information.


author: sanan sanan
body: Thank you, Stephen.

will definitely try your tips out.

Regards

Sanan


Tags: html

javascript

user
Set dynamic macro parameters for enum type
Asked by rambabu patina:

I am quite new to implement confluence macros.

Requirement is to set dynamic parameter values for the 'enum' field type in the macro browser.

I followed <https://community.atlassian.com/t5/Answers-Developer-Questions/How-can-i-set-dynamic-values-for-drop-down-enum-param-in-the/qaq-p/535124/jump-to/first-unread-message> and

<https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-implement-dynamic-macro-parameters-enumerations-in/qaq-p/463297>

But end up with no success, it was not working for me. Seems some thing I was missing?

Please see my ++macro definition in atlassian-plugin.xml++

```
<xhtml-macro name="xxxxxx"

title="xxxxxfunctionality"

class="xxxxxx.xxxxxx"

icon="xxxxx/xxxxxxx/${project.groupId}.${project.artifactId}/xxxx/xxxxxxxx.png"

key="xxxxxxxxx-macro">

<description key="xxxxxx.macro.desc"/>

<category name="development"/>

<parameters>

<parameter name="xxxxx" type="enum" required="true" default="None">

</parameter>

</parameters>

</xhtml-macro>
```

++And the JS file here:++

```
(function ($) {

console.log("js file called");

var xxxxxxMacro = function () {};

console.log("js file called 2");

xxxxxxMacro .prototype.fields = {

"enum": {

"xxxxx": function (param, options) {

console.log("js file called 3");

var paramDiv = AJS.$(Confluence.Templates.MacroBrowser.macroParameterSelect());

var xxxxxDropDown = AJS.$("xxxxx", paramDiv);

console.log("inside enum group");

loadXxxxx(xxxxxDropDown);

return new AJS.MacroBrowser.Field(paramDiv, xxxxxDropDown, options);

}

}

};

?

function loadXxxxx(xxxxxDropDown){

console.log("js file called 4");

xxxxxDropDown.empty();

xxxxxDropDown.append($("<option>color1</option>"));

xxxxxDropDown.append($("<option>color2</option>"));

console.log("call complete");

}

?

AJS.MacroBrowser.setMacroJsOverride("xxxxxxxxx-macro", new xxxxxxMacro());

})(AJS.$);
```

Please help me regarding this.


Answers:
author: Akshatha
body: Hi Rambabu

Was the issue resolved? Are you able to populate enum values dynamically?


author: Yury Buzenets
body: something like this should work

```
"xxxxx": function (param, options) {

    param.enumValues = ['color1', 'color2'];

    //in Confluence 6.6+ you need to specify displayed values, otherwise all dropdown items are displayed as "undefined"
    param.enumMapValueName['color1'] = 'color1'
    param.enumMapValueName['color2'] = 'color2'

    return AJS.MacroBrowser.ParameterFields['enum'](param, options);
}
```

comments: author: Akshatha
body: I am also trying to achieve dynamic population of the drop down values. Tried above code which u mentioned. Still I am getting the values as undefined.


author: roosi-ann_tolgu_concise_ee
body: It seems that enumMapValueName is deprecated, use enumToI18nKeyMapping.


Tags: javascript

macro
How to export search results?
Asked by Lindy Jones:

Is it possible in Confluence Wiki or via some sort of add-on that allows me to get a list (exported) of all pages that contain a specific term on a page? So I know the search results show up pages that have whatever I am searching for - but how do I get that in a concise list? Thanks!


Answers:
author: Stephen Deutsch
body: Maybe you could use the "Search Results" macro in a page. That would allow you to get a list, and you could probably expand the maximum results to show the number that you need. Then if you want to export the list, you could simply export the page that the macro is embedded in.


Tags: export

search
Custom Fields or Labels ?
Asked by JIRA ServiceAccount:

I have a Confluence page which reports the number of Help Desk requests passed over to our development team.

It provides numbers for:

Today, Yesterday, previous day ect . . .

This Week, Last week, previous week, ect . . .

This month, Last month, previous month ect . . .

I would like column labels to be Monday, Tuesday, December, November ect. These should change automatically.

Instead of "Yesterday, previous day", "previous month" ect.

Anyone have thoughts on if \\ how this can be done ?

Thanks,

John


Answers:
author: AnnWorley
body: Hi John,

Please let me know how the report was built, and post a screen shot of it. I am not familiar with such a report "out of the box" with Confluence so I would like more information to take a closer look at how the headings could possibly be changed.

Thanks,

Ann


Tags: confluence-cloud
Conflunce behind Webseal and Apache
Asked by Joel Dennis:

We have a Webseal junction configured as [www.domain.com/collaboration/](http://www.domain.com/collaboration/), which has a back end apache, with context paths to /jira and /wiki, two tomcat instances on the same host.

When accessing [www.domain.com/collaboration/wiki/](http://www.domain.com/collaboration/wiki/) we are initially able to log in, but receive a notification that we are accessing as [www.domain.com/wiki/](http://www.domain.com/wiki/) and then are redirected to login, with the url [www.domain.com/wiki/login.action?os_destination=/collaboration/](http://www.domain.com/wiki/login.action?os_destination=/collaboration/).

The same is true for our jira configuration. Any tips to resolve this? Need to force the url to be [www.domain.com/collaboration/wiki/](http://www.domain.com/collaboration/wiki/)


Answers:
author: AnnWorley
body: Please make sure the connector directive in the \<application_install_dir\>/conf/server.xml file includes the proxyName, proxyPort and scheme, as described in [Proxy Support](https://tomcat.apache.org/tomcat-8.5-doc/config/http.html#Proxy_Support):
> The proxyName and proxyPort attributes can be used when Tomcat is run behind a proxy server. These attributes modify the values returned to web applications that call the request.getServerName() and request.getServerPort() methods, which are often used to construct absolute URLs for redirects. Without configuring these attributes, the values returned would reflect the server name and port on which the connection from the proxy server was received, rather than the server name and port to whom the client directed the original request.

comments: author: Joel Dennis
body: Thanks for your reply Ann.

I set this value to [www.domain.com/collaboration](http://www.domain.com/collaboration/wiki/) but it does not seem to have any affect. Images and some links (e.g. update base URL popup link) are then redirecting [www.domain.com/collaboration/](http://www.domain.com/collaboration/wiki/)wiki to [www.domain.com/](http://www.domain.com/collaboration/wiki/)wiki, with 404 errors.

Any other possibilities?


author: Bryan Lim
body: Joel,

I am wondering how did you configure your webseal cert on the confluence server? As we are trying to configure SSO with webseal, and i cant seem to figure out how to add the webseal cert to confluence server. I was only able to configure my own dns server cert instead. Thanks!


author: Joel Dennis
body: Hi Bryan,

We're not configuring SSO for now, so haven't got any insight to assist. Our internal instances are SSO but only use a httpd.

For anyone interested in my original issue, found this article which appears to point to Webseal configuration to resolve the problem. Will test this and report back.

<https://publib.boulder.ibm.com/tividd/td/ITAME/SC32-1359-00/en_US/HTML/am51_webseal_guide91.htm>


Tags: jira-software
Can't create a service desk project for service center
Asked by Alphouine:

Hi Everyone,

I am having this weird message when I try to create a new projet for the service center in Service Desk project (see print screen attached). It says it couldn't create my project because of an unknown error, please refresh and try again.  

For informations, I install Jira software with the license and then I added the Service Desk from addons with also the license.

I hope you guys will help me and I thank you in advance to take time consulting my request.

Regards,

Alpha  

<br />

![Sans titre.png](/t5/image/serverpage/image-id/13282iC247938D0E5D819E/image-size/large?v=v2&px=999 "Sans titre.png")


Answers:
author: Victor Florin Pana
body: Glad that I could somehow be of help.


author: Alphouine
body: Yes, you were right. And also, there was a bug related to the language. I informed the JIRA support and they told me to reinstall the system in english first before adding the French language. Now I can create projet because the naming is short in english.

Thank you Victore you helped a lot. Jira is a nice tool but you will pass through a lot of pain before seeing good results.


author: Victor Florin Pana
body: If you look in your photo, you have a "Chef de projet" area... that is what I meant by Project lead. Have you defined a user there?

Though from the error I do not think that that is the problem. Are you using a self hosted JIRA or a Cloud hosted one? If the JIRA is self hosted have you checked the log files for the error?


author: Alphouine
body: Hi sorry for my late answer. I don't know what you call a project lead. Is it the account by default we use to manage a project..???


author: Victor Florin Pana
body: Hello,

Was the project lead selected when you tried to create the project?

If the above was not the problem, then you will have to check the jira logs and see what is the error tracked there. You can then google search the cause and see if you find the culprit.


Tags: jira

jira-service-desk
In Jira Software Server, is it possible to use Epics without Agile?
Asked by Jira Support:

We don't use Agile features in our JIRA Software Server instance. However, I want to use Epics, if possible, to group development issues within a Project, and to link with Confluence's Product Specifications template. Is this possible? If not, any suggestions of other ways to do it?


Answers:
author: Nic Brough -Adaptavist-
body: You can use Epics, but they will be no different to any other issue types. They really will be "just an issue"

You will not get the functionality of Epic-linking or grouping. You'll need to manually link every single story to its Epic using a standard link, not just type in the epic-link field or do the drag and drop, and you won't get any of the more clever reporting Jira Software does.

comments: author: Jira Support
body: Thanks Nic. I have come to a compromise solution by creating Epics in Kanban boards. I get to group issues related to major features, I get a Trello-like board to show stakeholders, and it links back natively to Product Requirements in Confluence. But my Senior Developer never has to see the words 'Scrum' or 'Sprint'!


Tags: epic

jira

jira-software
How to change macro name showing in list of suggested macros?
Asked by AustinS:

Anyone know how to change the customized macro name in the list of suggested macros (dropdown menu), which will be called by type "{" and the macro name?

I've tried add key/value pair on .properties file, like "groupid.artifactid.macroname.label = new macro name" , but not working.

Any ideas?

Thanks a lot :-)

![Screen Shot 2018-01-24 at 5.04.51 PM.png](/t5/image/serverpage/image-id/13278i88D4D0E6ED8462C7/image-size/large?v=v2&px=999 "Screen Shot 2018-01-24 at 5.04.51 PM.png")


Answers:
author: AnnWorley
body: Most macros are part of Confluence system plugins or third party add-ons. You would have to modify the plugin code to change the name that appears in the macro browser. Every time you upgrade you would need to do it again.

If the macro name you want to change is a User Macro, you may change it at Confluence Admin\>User Macros\>Macro Browser Information\>Macro Name.

comments: author: AustinS
body: Thanks Ann. I made it by changing the macro name in atlassian-plugin.xml file.


author: AnnWorley
body: That is very cool, thanks for following up! I am hoping you can help out the next person with the same use case by posting as an answer under Suggest an Answer: what tool you used to edit the .xml file, and how you modified it to change the macro name?

Then either accept your answer (checkbox) or I can accept it. That way, when people search in Google it will show as solved and people who click on it will be able to see just how you did it.
Populate Confluence Form from URL - pass parameter to confluence form
Asked by Austin Scott:

I've read every thread on this topic that I can find any none of them help. Does anyone know if I can pass a parameter into a confluence form from the URL? For example,

I might have a form with a field called project_name and then the url I would like to specify the default value of that project_name. Any ideas on how to add this functionality to default confluence forms?


Answers:
author: Stephen Deutsch
body: Hi Austin,

Confluence does not have any form functionality built in by default. Are you using an add-on app to do that functionality?

At least for user macros it is possible to pass a parameter to Confluence from the URL, but a little bit more information would be necessary.


Tags: forms

url
Moving Confluence pages in hierarchy
Asked by Daryl Horrocks:

If I move pages in a page tree (i.e., move a child page to a different parent), will someone's bookmark to that page update to the new location? What edits could cause a bookmark to break?


Answers:
author: Nic Brough -Adaptavist-
body: Changing the name of a page (fortunately they are unique within a space, or I could not say that) or the space it is in may break bookmarks. Moving it within a space will not do any damage.

comments: author: Daryl Horrocks
body: Yeah renaming seems to cause problems. I was able to move it to another section without issues but I didn't know how much I could restructure pages before it started to affect the overall hierarchy.


author: Nic Brough -Adaptavist-
body: You should only worry about "rename page" (which only affects the "friendly" url - the page retains its short url on the page-information tab, and its page id which you can always use to get to view or edit), and when you move a page from one space to another (again, short url and id don't change, just the friendly one)
User not receiving email notifications - Confluence Space
Asked by Vivian Escalante:

Hello,

Watchers of my space are not receiving email notifications when other users create a new blog or a new page. I have added them as Watchers of the space and have given them full access under the Permissions page. Any ideas why they don't receive email notifications?

The only email they receive is if someone comments on the blog post.

Also, I have tested the mail server and it does send the test email.


Answers:
author: AnnWorley
body: Hi Vivian,

I understand your instance sends email successfully when you do the test or someone comments on a blog post on your space, but new pages and new blogs added to your space are not generating emails.

Please let me know:

* Has anything changed recently for users' emails or the email server?
* Did it ever work before?
* Are watchers of other spaces getting emails from newly added pages and blog posts?
* Have the users checked in the spam or trash folders in their inbox to see if these emails could be getting lost?

Please go to your Mail Queue in the admin panel and check both the Mail Queue and the Error Queue and see if you have any items in either list.

Please make sure the "Confluence Content Notification" plugin is fully enabled:

1. Go to Cog \> General Administration \> Manage Add-ons
2. Choose "System Plugins" from the drop down list
3. Find and click "Confluence Content Notification" plugin
4. Check if 106 of 106 modules are enabled especially:  
   page-created-notification  
   page-edited-notification  
   page-moved-notification  
   page-trashed-notification

Lastly, if everything is set correctly, please enable Debug Logging for email related classes:  
1 - In Confluence go to Cog \> General Administration \> Logging and Profiling  
2 - Change the following to DEBUG (add classes as necessary if they are not present in the existing list):  
com.atlassian.confluence.mail  
com.atlassian.confluence.jmx  
3 - Save, and after enabling this logging, recreate the issue with the e-mail.  
4 - Check the log at: \<confluence_home\>/logs/atlassian-confluence.log to see if any errors are recorded that could give us more insight.  
*Note: The \<confluence_home\> directory is the path defined in the following file: \<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties*

I look forward to hearing what you find.

Thanks,

Ann


Tags: email

notification
How can I use Agile to document or manage functional requirements?
Asked by Lydia Bachan:

I have to create a functional requirements document for my job, however, I would like to utilize the features of Confluence or Jira to do this as opposed to using an actual FRD


Answers:
author: Shannon S
body: Hi Lydia,

We have a few articles on how to use Confluence and Jira for Requirements management:

* [How to document product requirements in Confluence](https://confluence.atlassian.com/doc/blog/2015/08/how-to-document-product-requirements-in-confluence)
* [Using JIRA for Requirements Management](https://confluence.atlassian.com/jirakb/using-jira-for-requirements-management-193300521.html)

Can you let me know if that's what you're referring to, or if you're trying to accomplish something different?

Shannon


Tags: atlassian-marketplace

jira-software