youngmon/atlassian-qna huggingface dataset:
Issue collector script for creation issue is not properly working for field 'labels' in Confluence
Asked by jira-admin_telenor:

So I created in confluence page support button to create an issue in jira. Everything is working except labels field. Script below:

\<script type="text/javascript"\>  
(function(summary, description) {

var currentUser = {  
displayName: document.getElementById("currentUserName").textContent,  
emailAddress: document.getElementById("currentUserEmail").textContent  
};

var projectCode = 'XXX';  
var components = {  
something: 'XXXXX'  
};  
var sprintID = 'XXXX';  
var labels = {  
labelValue: 'Nova'  
};  
var fieldValues = {  
summary: 'Not Defined ...',  
priority: '3',  
components: \[components.something\],  
labels: \[labels.labelValue\],  
customfield_11801: \[projectCode\],  
customfield_10016: \[sprintID\],  
fullname: currentUser.displayName,  
email: currentUser.emailAddress,  
};

window.ATL_JQ_PAGE_PROPS = jQuery.extend(window.ATL_JQ_PAGE_PROPS, {  
'7bae947c': {  
triggerFunction: function(showCollectorDialog) {  
jQuery('.jiraTrigger').click(function(e) {  
e.preventDefault();  
showCollectorDialog();  
});

jQuery('#atlassian-support-request-di').click(function(e) {  
fieldValues.summary = '\<write your summary here\>';

e.preventDefault();  
showCollectorDialog();  
});  
},  
fieldValues: fieldValues  
}  
});  
})();  
\</script\>

with this solution I only get labels = collector-7bae947c and there is no Nova value which I want. Can you suggest how it should be written to be able to see Nova value in newly created task?


Answers:
author: jira-admin_telenor
body: Any ideas?


Tags: confluence-server

server
border around a section
Asked by Paul Wijnen:

Nice if i see this ask a question page, you use a text box with a border to organize information belonging to each-other, how can i do that in the cloud version. No backgroud color but just a border to distinguish different sets of information on a page.


Answers:
author: Barbara Szczesniak
body: [@Paul Wijnen](/t5/user/viewprofilepage/user-id/3891292) In Cloud, I do this with a table, which gives you a border around each cell. So I have places with a table with 1 cell that contains a lot of information. You can insert panel macros, lists, images, etc. within the table cell. Only issue with this is the recent table feature update that makes all tables centered on the page.

Another option you can use is to insert a horizontal line between paragraphs of content (type **/divider** or select the **Divider** macro in the **+ button** list on the editor toolbar). This only gives you a line above/below your content, but may suit your purposes.

comments: author: Paul Wijnen
body: Thanks for the info, found that way already. Still coming from server, the ease of the {panel} macro vs using the table is a big difference i need to strip the preset table down. And it is restricted in colors disign etc. I dont really understand that a visual tool for collaboration is so restricted in its base to set up panels around info, even on this page, the setup with panels for the upcomming events etc is used.

I will use the free app, if i can get it installed from central IT


author: Marc - Devoteam
body: Hi [@Paul Wijnen](/t5/user/viewprofilepage/user-id/3891292)

I agree with [@Barbara Szczesniak](/t5/user/viewprofilepage/user-id/5187859)

Otherwise you could try the free app, Refined Toolkit for Confluence Cloud.

The tab macros can be useful for your case as well.

comments: author: Paul Wijnen
body: I will look into these apps, hopefully product management of confluence will recognize the power of good setup in pages, to internally promote confluence we mentioned, the only restrictions are your own imagination, now i already get feedback that setting up pages is restricted in cloud, for commercial nice pages colleagues are starting to use sharepoint.


Tags: cloud

confluence-cloud
Space Admin Macro
Asked by venkataPhani.K.Yarramsetty:

Unable to display list of users when using SpaceAdmin Macro in Confluence pages.


Answers:
author: Craig Nodwell
body: Hi [@venkataPhani.K.Yarramsetty](/t5/user/viewprofilepage/user-id/5397938) welcome to the community. By display list of users are you referring to Space Admin users or all users?


Tags: confluence-server

server
Database Creation
Asked by Heather Millar:

Hi, I've been looking at the Database option in Confluence, but can see it's in closed beta. Is there a way to be able to test this on my system? I think I have a good use for it, but not able to see it currently.


Answers:
author: Rebekka Heilmann _viadee_
body: If you don't have the option to just add it to your Confluence anymore, then best option is to contact the Atlassian support and ask nicely ;)

[Atlassian Support](https://support.atlassian.com/)

comments: author: Heather Millar
body: Thanks Rebekka, I have tried that, unfortunately the form won't accept out site URL, so I get no further!


author: Rebekka Heilmann _viadee_
body: You mean the Support form?

Were you logged in with your Atlassian Account? It shouldn't be free form but rather give you all sites that you have access to.


author: Nikola Perisic
body: Hello [@Heather Millar](/t5/user/viewprofilepage/user-id/5368672) ,

Have you signed up to the waiting list? Users who did sign up, get access to this feature earlier than others.

You can sign up here: <https://www.atlassian.com/software/confluence/databases>

BR,

Nikola


Tags: unknown-hosting-type
/var/atlassian/application-data/confluence/temp Questions about deleting
Asked by ??? _Kicker_:

Hello

/var/atlassian/application-data/confluence/temp  
The capacity of is growing.  
It currently occupies about 200GB.  
Is there any problem that can be an obstacle after we end the confluence first and erase all the contents of the temp?

I ask for your help.  
Thank you.


Answers:
author: Radek Dost?l
body: That folder should be getting cleaned up automatically: <https://confluence.atlassian.com/confkb/too-many-files-in-the-temp-directory-change-the-backup-directory-for-a-manual-backup-104300768.html>

So it depends a bit what you have in there that is growing, since it *should* ideally be getting periodically cleaned up.

It is a temp at the end of the day, and no files in there should be critical. If you stop confluence and delete the contents, you *should* be fine. If you delete the contents when Confluence is running, you *could* potentially cause a problem somewhere if Confluence is trying to use a file in the temp directory.

So if you're not sure, stopping Confluence first will be safe, but you really shouldn't need to manually remove anything from that directory.

comments: author: ??? _Kicker_
body: Thank you very much for sharing your knowledge.  
I will refer to the document you shared and refer to it for operation.  
Have a nice day


Tags: confluence-server

server
Confluence, Do we have a option to move a file to a different folder in bulk
Asked by Prathima:

In Confluence, how do you move a file to a different folder/page?

Can this be done in bulk (multiple files)?


Answers:
author: Nikola Perisic
body: Hello [@Prathima](/t5/user/viewprofilepage/user-id/3136200) , by file do you mean an attachment that needs to be moved to a different page?

comments: author: Prathima
body: yes , Inbulk


Tags: confluence-server

server
I am having trouble syncing pages between two cloud spaces. I am also using Ricksoft's Space Sync.
Asked by Krishna Singh:

I have two spaces, namely

<https://tokiapplication.atlassian.net/wiki/home> (client's)

<https://appinventiv.atlassian.net/wiki/home(ours>)

Using Ricksoft's Space Sync for confluence I successfully synced the pages but now I am having trouble syncing the new pages.

Error is as follows:

![Screenshot 2024-01-03 at 3.30.53?PM.png](/t5/image/serverpage/image-id/298841i237EB9AA5009996A/image-size/large?v=v2&px=999 "Screenshot 2024-01-03 at 3.30.53?PM.png")


Answers:
author: Kristian Klima
body: Haven't used the app in a while but I'd check permissions and page restrictions - especially on the customer's site.

Also, if the token is OK.  

If it's a name conflict issue, they may have created a new page with the same name in the target space. Or, if a synced page existed in the target space, was deleted a then new page was created, then the link between the original pair is broken.  

They have a Support link here:  
<https://emplifi-docs.atlassian.net/wiki/marketplace/discover/app/com.ricksoft-inc.plugins.space-sync-for-confluence>


Tags: cloud

confluence-cloud

space
How to move internal Confluence user into "unsynced from directory"?
Asked by d.b.kumar.chauhan:

Hi,  

Can anyone help me to move internal Confluence user into unsynced from directory?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@d.b.kumar.chauhan](/t5/user/viewprofilepage/user-id/5350545) and welcome,

please could you better specify your need? An internal user is not synched with any external directory.

Fabio


Tags: confluence-server

server
Could not check permissions for Content in Confluence
Asked by Lai Tat Ming_ Ray:

Currently, my confluence instance is using the plugin "Page Fields"

I am facing an error when I use "Page field value by name" to show the "review. date" page field name's value in the Confluence page. The error happens on non-admin users.

Is the error a bug for the plugin that I need to submit a support request to the plugin vendor?

Or just some config is wrong that I can fix it?

![pageFlieds_error.png](/t5/image/serverpage/image-id/298836iCC7784805DA7FF5F/image-size/large?v=v2&px=999 "pageFlieds_error.png")

Confluence version: 7.19.17

Page Fields version: 1.6.3


Answers:
author: Charlie Marriott
body: Hi [@Lai Tat Ming_ Ray](/t5/user/viewprofilepage/user-id/5077548),

Thanks for the question. At face value, this doesn't look like a Confluence bug and is likely coming from the [Page Fields](https://marketplace.atlassian.com/apps/1218588/page-fields?tab=overview&hosting=datacenter) app. It would be worth reaching out to the plugin vendor [ILA eSolution](https://marketplace.atlassian.com/vendors/1216055/ila-esolution) to raise the bug. They can be reached at support@ilaesolution.atlassian.net or through their [support desk.](https://ilaesolution.atlassian.net/servicedesk/customer/portal/17)

Please see [this page](https://confluence.atlassian.com/support/atlassian-supported-apps-229836119.html) for more information about raising tickets for supported apps.

I hope that helps!

Charlie

comments: author: Lai Tat Ming_ Ray
body: Hi [@Charlie Marriott](/t5/user/viewprofilepage/user-id/616774),

Thanks for the prompt reply. I will submit the support request to the plugin vendor [ILA eSolution](https://marketplace.atlassian.com/vendors/1216055/ila-esolution).

Thank you

Ray


Tags: confluence-server

server
How to programmatically create a Confluence Page from a template?
Asked by Callie Buruchara:

We have an internal tool that collects data around incidents. We'd like to export that data for a given incident into a editable Confluence page/document. We'd like this to happen programmatically.

For example: in our internal tool, we'd like to be able for the user to click a button that says "Generate into Confluence Doc". The tool would then programatically fill out a Confluence template and replace variables with actual values. It would then share the URL of this new Confluence document with the user.

It's basically this: <https://support.atlassian.com/confluence-cloud/docs/create-a-template/> but doing it programatically instead of through the UI.

Is there a way to do this? Thanks!


Answers:
author: Ajay _view26_
body: Hi [@Callie Buruchara](/t5/user/viewprofilepage/user-id/5397473)

Welcome to the Atlassian Community!

Can you check the below community post which answers your query

: <https://community.atlassian.com/t5/Confluence-questions/How-can-i-create-a-new-page-from-a-users-template-using-rest-api/qaq-p/1059884>


Tags: cloud

confluence-cloud
What happanes to user macros during Could Migration?
Asked by Bill Bailey:

This page (<https://support.atlassian.com/migration/docs/what-migrates-with-the-confluence-cloud-migration-assistant/>) makes the statement regarding user macros:
> **User Macros:**User macros are not migrated currently.

What does that mean in detail? What happens to the macro instance? Deleted? Placeholder? What happens to the macro data/parameters?

Can we develop a Forge App that replaces the user macro, with the result being a somewhat seamless migration? Or is enough data preserved that would could later run a script against the Cloud instance to migrate from a user macro to a Forge App?

We have 1000s of instances of user macros, that will be a royal PITA to manually migrate. I need to understand the scope of the issue.


Answers:
author: Dan Breyen
body: Hi Bill, I found this other community article regarding User Macros. [Migration-Of-User-Macros](https://community.atlassian.com/t5/Confluence-discussions/Migration-to-Confluence-Cloud-User-macros/td-p/2456196)

To quote Nic: "The short answer is very simple - there are no user macros on Cloud. You have to drop them all."

There are some options, but that's a little more complicated and in the article.

Hope that Helps.

comments: author: Bill Bailey
body: Yes, I saw that. But what is not clear to me is whether:

* Macro name is preserved
* Settings and parameters are preserved
* If I create a new macro using Forge with the same name/parameters, will it automatically be substituted for the existing reference

I am trying to figure out how much of a disaster is there around user macros. Our instance has 20+ macros with 5000+ instances -- not a trivial task to replace.


Tags: cloud

confluence-cloud

confluence-server

server

user-macro
Unable to Insert Confluence Macros
Asked by tfetner:

I'm finding that I'm unable to insert Confluence macros related to "Jira" or those populating the "external content" listings.

Any advice?

All other macros insert and work as designed.

THNX

Tim


Answers:
author: tfetner
body: No one have a solution? Come'on Atlassian...


author: tfetner
body: I'm selecting the macros (any of them) that come up when typing "Jira" in the macro search field.

ALL other macros work fine

i.e.

* Jira Issues
* Jira Charts
* Jira Road Map
* Jira Legacy
* Jira Timeline
* Create Jira Issue
* Jira Issues Calendar

comments: author: Barbara Szczesniak
body: [@tfetner](/t5/user/viewprofilepage/user-id/5373853) Is your Confluence instance connected to your Jira instance? I don't know much about this (not a Site Admin), but I found this tutorial: <https://www.atlassian.com/software/confluence/resources/guides/extend-functionality/confluence-jira#integrate-confluence-jira>

There are probably other pages in the Atlassian documentation that describe how this works or maybe the documentation about the macros specifies the necessary configuration.


author: Nikola Perisic
body: Hello [@tfetner](/t5/user/viewprofilepage/user-id/5373853) ,

Do you get any error message when you try to insert the confluence macro for jira?

comments: author: tfetner
body: No error messages. Macro does not appear on screen. Again this is just with "Jira" macros. I can insert another macro, and all works as expected.

Help is appreciated.


author: Nikola Perisic
body: Just to clarify: are you using the "Jira Issues" or the "Jira Legacy" macro - legacy is outdated?


author: tfetner
body: Confluence and Jira both Cloud versions...


Tags: cloud

confluence-cloud
After migration, Confluence is extremely slow
Asked by Mancuso, Rodrigo Luiz Costa:

First of all: I love confluence.

<br />

Have been using it for about three years now.

But after Spin Off migration, it became EXTREMELY slow. its being a pain to work with it, to search documentation, to edit it.

Any help on performance improvement would be greatly appreciated.


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

What do you mean by "spin off migration"? Could you tell us what you have done, and how it has been done?


Tags: cloud

confluence-cloud
Automate space deletion for users who left the company
Asked by Henrique ALVES:

Hello,

Is there an automated method to remove personal Confluence spaces belonging to departed employees?

It's impractical to manually delete all these spaces when users leave the company. Establishing a governance process for this seems necessary.


Answers:
author: Laurie Sciutti
body: Hi [@Henrique ALVES](/t5/user/viewprofilepage/user-id/5053419) \~ in order to take advantage of [Confluence Automation](https://www.atlassian.com/software/confluence/automation), you need to be on the Premium or Enterprise plan. That aside, there may be some script that someone has developed to do this, though I'm not aware of one. You may be able to find something in the Developer Community though: <https://community.developer.atlassian.com/c/confluence/6>


Tags: cloud

confluence-cloud
Page where the ConfiForms Form is defined
Asked by Monica:

I am trying to have my field point to a form that is on another page but for some reason the field "Page where the ConfiForms Form is defined" just won't update no matter what I enter in it.

I will enter the value, click save and then go back and the value is back to what is highlighted.

![01.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/298787i881D8FE38441BFB6/image-size/large?v=v2&px=999 "01.PNG")


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Monica](/t5/user/viewprofilepage/user-id/5225369)

This field is a page search/lookup field - start typing the page title and it will start to offer you matching pages.

Pick the one that you need

Alex

comments: author: Monica
body: I did that initially and it doesn't give me the one I need. I am puzzled because I don't know why it is not matching it :-(


author: Alex Medved _ConfiForms_
body: Does the page show up when you start typing it's title in Confluence search bar?


Tags: confiforms

confluence-server

server
List of all users (only active ) Scriptrunner
Asked by Edgar Pusklevic:

Hi ,   
I want to get all active users who has logged in more than 31 day...

with this script , I have inactive users also.. how to get list of only active users ?

import com.atlassian.jira.user.util.UserManager  
import com.atlassian.jira.component.ComponentAccessor  
import com.atlassian.jira.security.login.LoginManager

<br />

def userManager = ComponentAccessor.getUserManager()  
def loginManager = ComponentAccessor.getComponent(LoginManager)

ArrayList oldUsers = new ArrayList()  
Date today = new Date()  
//CHANGE TO DESIRED AMOUNT  
int threshold = 31

userManager.allApplicationUsers.toList().each { user -\>  
def loginfo = loginManager.getLoginInfo(user.username)

if (loginfo.getLastLoginTime() == null) {  
oldUsers.add(user.displayName)  
}  
else {  
def lastLogOn = new Date(loginfo.getLastLoginTime())  
def difference = today.minus(lastLogOn)  
if (difference \>= threshold) {  
oldUsers.add(user.displayName)  
}  
}  
}

return oldUsers


Answers:
author: Graham Twine
body: Hello [@Edgar Pusklevic](/t5/user/viewprofilepage/user-id/5041688)

The com.atlassian.jira.user.ApplicationUser has a property isActive

You can check this flag as well to see if a person is active.

Use the user search service and add a query filter to only return active users.


Tags: jira-server

server
Question about extracting Jira comments
Asked by Hyeon Seop Lee:

We have received a request from a client to extract the 'external delivery comments' of each ticket into a single cell.

CSV example (formatted as a table):

| Ticket Link | External Comments Extracted |
|-------------|-----------------------------|
| test-001    | Comment01 \~ comment02      |

Is this possible?


Answers:
author: Hyeon Seop Lee
body: Is there any way to remove internal comments and receive them?


author: Hyeon Seop Lee
body: Hi [@Pablo Gamblin _ServiceRocket_](/t5/user/viewprofilepage/user-id/2458390)   

Thank you for your response!


author: Pablo Gamblin _ServiceRocket_
body: Hi [@Hyeon Seop Lee](/t5/user/viewprofilepage/user-id/5496344)

There is a way to extract comments into a CSV by creating a JQL that will return the desired issues to export and then exporting them to a CSV.

Not that this will also include fields in the export. You can take a look at the Atlassian recommended answer [**here.**](https://community.atlassian.com/t5/Jira-questions/Is-there-a-way-to-export-comments-in-multiple-JIRA-issues-into/qaq-p/1781812)

Hoping this answers your question.


Tags: cloud

jira-cloud
How to change the position of a custom field on the backlog and in the cards
Asked by Sreekrishnan S M:

I added a new custom field, but when looking at it in the backlog, it makes the whole area of the backlog look ugly. Any ways to make it appear next to the priorities?  

<br />

![Screenshot_28-6-2024_13412_displayframes.atlassian.net.jpeg](/t5/image/serverpage/image-id/332325i15BF0D35F7C852CF/image-size/large?v=v2&px=999 "Screenshot_28-6-2024_13412_displayframes.atlassian.net.jpeg")


Answers:
author: Shane Gallen
body: Hi Sreekrishnan,

It is not possible to configure the UI in the Backlog in this way.

There are a maximum of 3 custom fields you can make visible in this view and they are positioned beneath the issue ID and summary.

I have recreated this below with the max of 3 custom fields

1. Story Points
2. Assignee
3. Component

This would be a nice enhancement request.

![Screenshot 2024-06-28 at 10.15.35.png](https://community.atlassian.com/t5/image/serverpage/image-id/332331i7B54C61C7BE6FBAE/image-size/large?v=v2&px=999 "Screenshot 2024-06-28 at 10.15.35.png")


Tags: cloud

jira-cloud
Possibility for Dev to see the Service Desk Ticket
Asked by Martin Hirsch:

Is it possible for a developer in a software project (no sd agent) to see (and maybe comment) the orignal bug ticket in the servicedesk project?

Found this article, but this doesn't work.

[Solved: What does the developer role do in Jira Service De... (atlassian.com)](https://community.atlassian.com/t5/Jira-Service-Management/What-does-the-developer-role-do-in-Jira-Service-Desk-project/qaq-p/1431718)


Answers:
author: John Funk
body: Hi Martin,

Make sure they are in the Service Desk Team project role. And make sure that project role has the Browse Project permission.

comments: author: Martin Hirsch
body: The permission. That's it. Thank you.


author: John Funk
body: Great! Glad it is working now.


Tags: agent

cloud

jira-service-management

jira-service-management-cloud

jira-software