youngmon/atlassian-qna huggingface dataset:
Rest Module Confluence Server Plugin
Asked by FROMAGE Nathan:

I've just create a Rest module plugin (from this [documentation](https://developer.atlassian.com/server/framework/atlassian-sdk/rest-plugin-module/)) for my Confluence plugin but when i try to make a js ajax call to my rest endpoint the request fail with no error and no statusCode.

It is really possible to create a rest endpoint module for a confluence server plugin ?


Answers:
author: aorlov
body: Hi [@FROMAGE Nathan](/t5/user/viewprofilepage/user-id/5045741)

Can you show your code?

comments: author: FROMAGE Nathan
body: Atlassian-plugin Code:

```
<rest name="Make Static Rest Resource"
        i18n-name-key="make-static-rest-resource.name" key="nimp-pour-test"
        path="/make-static" version="1.0">
   <description key="make-static-rest-resource.description">Make Static Rest Resource Plugin</description>
</rest>
```

Rest Code:

```
@GET
@Produces({ MediaType.APPLICATION_JSON })
@Path("/makeStatic")
public Response MakeStatic(@QueryParam("pageId") String pageId) {
    return Response.ok("test").build();
}
```

Js Code:

```
$.ajax({
   type : "GET",
   url : window.location.origin + "/rest/make-static/1.0/makeStatic",
   contentType : 'application/json'
}).always(function(msg) {
    console.log("reponse de la requete" + msg)
   if (msg == true) {
      location.reload();
   }
});
```


author: aorlov
body: 1. Your JS-code should provide query parameter \`pageId\`. You declared it in java code.

2. Have you annotation \`@Path\` on your controller?

3. You url in JS is wrong. Should be

```
Confluence.getContextPath() + 'rest/make-static/1.0/{controllerPath}/makeStatic?pageId=123'
```

Kind regards


Tags: confluence-server

server
How to export list of all spaces and user permissions for those spaces (as confluence admin)?
Asked by Steve W:

I have been requested by the MD to produce a list of what spaces we have as a company, and who can access those at what level. I could break into each manually and add myself before then checking who has been invited in and at what level, I'm not sure that this would be the quickest method though.   
Can anyone suggest a better way please?

FYI in case it isn't obvious from the question - I am an absolute beginner with Confluence / unfamiliar with the product and feel I could be out of my depth for a while until I get the courses completed.

All helpful answers appreciated ?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Steve W](/t5/user/viewprofilepage/user-id/5047195) and welcome to the community,

Using REST API you can get the list of all spaces by sending this request:

```
GET /wiki/rest/api/space
```

<https://developer.atlassian.com/cloud/confluence/rest/v10/api-group-space/#api-wiki-rest-api-space-get>

For permissions use this

```
GET /wiki/rest/api/space?expand=permissions
```

comments: author: Steve W
body: Thank you [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) Exactly what I was looking for ?  

[@Jay Maechtlen](/t5/user/viewprofilepage/user-id/4987202) I should have listed it is Confluence Cloud, I appreciate your answer though ?


author: Jay Maechtlen
body: I just saw this post -

[https://community.atlassian.com/t5/Confluence-questions/Confluence-User-Macro-needed-to-list-all-Space-Admins/qaq-p/981171?utm_source=dm\&utm_medium=unpaid-social\&utm_campaign=P:online\*O:community\*I:social_share\*](https://community.atlassian.com/t5/Confluence-questions/Confluence-User-Macro-needed-to-list-all-Space-Admins/qaq-p/981171?utm_source=dm&utm_medium=unpaid-social&utm_campaign=P:online*O:community*I:social_share*)

that's a user macro that lists all space admins, it may be what you need or a real good start.

comments: author: Alex Koxaras _Relational_
body: [@Jay Maechtlen](/t5/user/viewprofilepage/user-id/4987202) this macro is for Confluence server and not for Confluence Cloud.


author: Jay Maechtlen
body: I figured it might kick some other ideas loose - I didn't necessarily think it would end up being 'the answer'.

Thanks!


Tags: cloud

confluence-cloud
How to scape a "#" character in the source URL of an iframe macro?
Asked by Everton Siqueira:

I need to add an iframe pointing to a specific page of a website, but the "#" in its URL is not being recognized by the macro, and the displayed result leads to the website main page.  
Is there any way to scape the "#" character in the URL to make it work as expected?


Answers:
author: Peter Van de Voorde
body: Hi [@Everton Siqueira](/t5/user/viewprofilepage/user-id/4677105)

Have you tried escaping it by replacing the # with %23?   
That is the [URL escape code](https://docs.microfocus.com/OMi/10.62/Content/OMi/ExtGuide/ExtApps/URL_encoding.htm#:~:text=URL%20escape%20codes%20for%20characters,'%3CMy%20title%3E'%20.) for #.  

Cheers,  
Peter

comments: author: Everton Siqueira
body: Hi [@Peter Van de Voorde](/t5/user/viewprofilepage/user-id/781487)   

Thanks for the suggestion but apparently iframe macros cannot handle URL encoded characters either.  

BR,  
Everton


Tags: cloud

confluence-cloud
Can't Find Confluence Calendar When Adding a Calendar to Another Space
Asked by Amelia Giuliani:

I created a Confluence Calendar that will have all the dates for New Hire Training. I made sure anyone can edit or view the calendar and it is set to the New Hire Space. ![Calendar Settings.png](/t5/image/serverpage/image-id/219293i8F8276EE33308777/image-dimensions/399x365?v=v2 "Calendar Settings.png")

I want to be able to add that calendar to my team's space since we organize a lot of new hire training stuff. However, when I navigate to my team's space and go to Calendars \> Add \> Add an existing calendar ---- I can't find the calendar I am looking for. I can obviously access both spaces and I can see calendars from other spaces that I'm ***not***looking for but I can't figure out what I'm doing wrong.

![Calendar problem.png](/t5/image/serverpage/image-id/219292iEFBA8701359F67C8/image-size/large?v=v2&px=999 "Calendar problem.png")

Is there a permission setting somewhere that I'm missing or something I need to do to fix this?


Answers:
author: Summer Hogan
body: Hi [@Amelia Giuliani](/t5/user/viewprofilepage/user-id/4532086) - have you tried to enter the link to the calendar you created for New Hire Training instead of typing "New Hire" in the search bar? That might work!

comments: author: Amelia Giuliani
body: I did try this and it didn't work.


Tags: calendar

cloud

confluence-cloud
Error 503 : Service Unavailable
Asked by Sajith Nair:

I have a Confluence environment in my organization and for some reason, it is returning Service unavailable. ![confluence error 1.png](/t5/image/serverpage/image-id/219289i96154D14627549B4/image-size/large?v=v2&px=999 "confluence error 1.png")![confluence error 2.png](/t5/image/serverpage/image-id/219290i88A0EBD8D76E7300/image-size/large?v=v2&px=999 "confluence error 2.png")

Can someone help?


Answers:
author: AAMIR ANSARI
body: Hi [@Sajith Nair](/t5/user/viewprofilepage/user-id/5047098) ,

You would be required to check the below logs:

* \<confluence-install\>/logs/catalina.out
* \<confluence-home\>/logs/atlassian-confluence.log

Attach both logs here is possible to check the errors.

Regards,

Aamir


author: Peter Van de Voorde
body: Hi Sajith,

<br />

Welcome to the community.

<br />

If this is a confluence instance with a url that says .atlassian.net please reach out to Atlassian support here: <https://support.atlassian.com>

<br />

If it's not using .atlassian.net url it means it's not hosted by Atlassian and you'll need to reach out to your own internal IT team.  

Cheers,  
Peter


Tags: cloud

confluence-cloud

confluence-server

server
UI Children Macro card display is not showing background images
Asked by Christopher J Matthews:

When using the UI Children macro in Card mode, previously it would show the first image on the page as the background image for the card.

The macro appears to be directed to the correct URL for the images but it's not displaying as expected on the card within the macro.


Answers:
author: Zoriana Bogutska_Adaptavist_
body: Hi [@Christopher J Matthews](/t5/user/viewprofilepage/user-id/1389207)

Have you tried to use a background macro for that? For that, you can try [Content Formatting Macros for Confluence](https://marketplace.atlassian.com/apps/247/?utm_source=Atlassian-Community&utm_medium=referral&utm_campaign=Comment_UI-Children-Macro-card-display-is-not-showing-background-images-macro_20221004)

![Screenshot 2022-10-21 at 04.56.25.png](https://community.atlassian.com/t5/image/serverpage/image-id/221864iD8DE0FDC03C69633/image-size/large?v=v2&px=999 "Screenshot 2022-10-21 at 04.56.25.png")

This app allows you to improve page structure and visuals with the list of different macros:

Tabs, LaTeX, Tooltip, Background, Cards, Numbered Heading, Button, etc.

Let me know if you have any questions because this app is developed by my team.

Cheers


Tags: cloud

confluence-cloud

hierarchy

macro
How do i tell Jira and Confluence to open Office files in the respective desktop app directly?
Asked by Rule 1:

How do i tell Jira and Confluence to open Office files in the respective desktop app directly?


Answers:
author: AAMIR ANSARI
body: Hi [@Rule 1](/t5/user/viewprofilepage/user-id/5047116),

Since the Companion app is unavailable at your company(pun intended ;)), you can configure the office connector.

Please follow this guide and let us know how it goes.

* <https://confluence.atlassian.com/doc/configuring-the-office-connector-170492758.html>

Regards,

Aamir


author: Mohamed Benziane
body: Hi,

Welcome to the community

Did you try Companion ?

<https://confluence.atlassian.com/doc/install-atlassian-companion-992678880.html>

comments: author: Rule 1
body: Hi Mo, thanks for your hint. I checked it. Companion is not available at my company. Is there another option?


author: Rule 1
body: "Companion is not available at my company". Best pun today so far.


Tags: confluence-server

jira

server
Does Trello retain original due dates if the date is pushed out?
Asked by Mary Diers:

If due dates are changed after they are set to a later date, does Trello track the original due date too? We want to be able to track how far off we are with forecasting due dates if and when those dates are changed. Thank you.


Answers:
author: Suvradip Paul
body: Hi [@Mary Diers](/t5/user/viewprofilepage/user-id/4483903) ,

Thanks for posting in community.

I think once the due dates are updated in card it would show the updated dates. If you check the Activity, you would be able to see the due dates set, other updates on that specific card. There is an option to set reminder on cards with the remaining time e.g. days, mins, hours or none.

Please accept if it answers your query else respond and allow others to share inputs.

Stay safe and healthy.

Cheers

Suvradip

comments: author: Mary Diers
body: Thank you, Suvradip!


author: Suvradip Paul
body: You're most welcome [@Mary Diers](/t5/user/viewprofilepage/user-id/4483903) !

Cheers

Suvradip
Can you track how long a card sits in a column in Trello?
Asked by Mary Diers:

We're looking to track how long each card sits in Trello and pull a report on the average time cards sit throughout a project. Will this require a Power Up? Thank you!


Answers:
author: marin
body: Hey Mary, I don't think you can do that without a power-up, but if you are willing to use a power-up you can do that with <https://assista.io> - it is a timetracking bot we are developing that tracks exactly this and gives you detailed statistics about who moved the card and how long it stayed in the "tracking lists" of your choice.

comments: author: Mary Diers
body: Awesome, thank you, Marin! I will look into this.


author: Robin Warren _Blue Cat Reports_
body: Hi Mary,

A couple of other options for you

Time in List tracks (as you might expect) the time cards spend in each list <https://trello.com/power-ups/5b4765f383dd7c75d8e57be4/time-in-list>

Or [Blue Cat Reports](https://trello.com/power-ups/5d9c90aa18965066fcd44730/reports-by-blue-cat) allows more complex reporting such as the Time to Complete charts wich can track the time taken to complete cards over one or more lists. Those can show total time for all cards or be broken down by member/label/watever! Details on using the Time to Complete charts here <https://www.bluecatreports.com/help/articles/create-a-time-to-complete-chart/>

Cheers,

Robin


author: Iain Dooley
body: [@Mary Diers](/t5/user/viewprofilepage/user-id/4483903) The following Butler variables track this information built-in:

{cardhoursinlist}  
{cardminutesinlist}  
{carddaysinpreviouslist}   
{cardhoursinpreviouslist}

You can read more details about these variables (and others) here:

<https://help.trello.com/article/1157-variables>

You can use these variables in Butler reports:

<https://help.trello.com/article/1192-creating-reports-with-butler>

You could also do something like track time spent in the previous list in comments/custom fields/descriptions with each time you move a card, then export this data either through the API or using something like the Board Export powerup:

<https://trello.com/power-ups/5c9418019e56bd8abf98d83f/board-export-excel-csv-pdf>

comments: author: ??????? ??????????
body: Hi!

I'm trying to use this variables and create a report, but it doesn't work for me (

Command:

create a report with all cards in list "?????? ?????? ? ???" using pattern "\[{cardname}\]({cardlink}) ({cardmemberusernames}) ({cardhoursinpreviouslist}) / ({cardminutesinlist}) / {cardhoursinlist} \|", and send an email notification to "bernadskaya@gmail.com" with subject "?????" and message "{$report}"

Result without any time:

[MYK-H-002-P620](https://trello.com/c/4uy6te4p) (user72122515, elenasinovac) () / () / \| [????](https://trello.com/c/MZNQPRU4) (n_bernadskaya) () / () / \|[KRD-SS-004-204](https://trello.com/c/0f6DGYhI) (elenasinovac, m_hanina) () / () / \| [BRK-W-002-P615](https://trello.com/c/o9BfSokd) (user72122515, elenasinovac) () / () / \|

What I do wrong?
Can one task/custom field/checklist item to be dependent on whether another item is checked?
Asked by Mary Diers:

We would love to figure out a way to make it so that a custom field, a task, or a checklist item is dependent on another item being done and checked. Even further, once that task is checked, can the team member responsible for the next task be alerted they can complete their task, and so on. Thank you for any insight.


Answers:
author: Iain Dooley
body: [@Mary Diers](/t5/user/viewprofilepage/user-id/4483903) I've built similar functionality for clients using my Trello automation platform:

<http://www.benkobot.com/>

at the moment it doesn't support advanced checklists but if you're interested in this solution it would be relatively easy to add it in.

The code that executes it will look something like:

<https://gist.github.com/iaindooley/d5737399350cc3f803c21f63d53f20a6>

You can email me on team@benkoworks.com if you'd like to discuss.


author: milynnus
body: [@Mary Diers](/t5/user/viewprofilepage/user-id/4483903)

The next checklist item capability is not available as far as I know. I wrote an add on to do that.

<https://youtu.be/Lhl34MXpsxo>

I have not migrated this to my new platform.

As for your first part, you can achieve some of it with Butler. I anticipate the use of either wildcards or regex so that you do not hardcode the names but it does mean some standardisation of item names...etc. Need to look at the actual cases that you are trying to handle.
Is there a way to get boards deleted when they "upgraded" the system to workspaces?
Asked by George Morrison:

Not sure what criteria they used to choose which boards to keep but it certainly was not most recent use.


Answers:
author: Felix
body: Hey [@George Morrison](/t5/user/viewprofilepage/user-id/4483563)

first of all: no boards were deleted; the migration to workspaces may have closed all but 10 of your most recently active boards, after the business class trial expired.

You can unarchive boards, so long as you stay below the 10 board limit (archive/close an open board, then view your closed boards, and re-open one).

See <https://help.trello.com/article/1263-moving-to-workspaces#automatic-migration> for more information

comments: author: Joseph Nielson
body: Is there a way to see which boards were closed by the automatic migration?
Emailing to update a card
Asked by Laura Sutherland:

I am looking for a way to update cards from emails - for instance If i forward an email to my board and create a card is it possible that any further emails forwarded with the same subject line can update the existing card rather than creating a new one?   

Or can this only be done by emailing the specific card email address?


Answers:
author: Iain Dooley
body: [@Laura Sutherland](/t5/user/viewprofilepage/user-id/4483546) if you're using Gmail you can also do this with my products BenkoBoard and BenkoDesk:

<http://www.benkoboard.com/> \<-- for individuals

<http://www.benkodesk.com/> \<-- for teams

You can configure it so all emails are imported, but you can also configure it so only emails you drag into a given labael are imported and this will update the existing card. I find this not only a bit more robust than the built-in threading but more convenient because you can also reply directly from the card (from any device).


author: Felix
body: Hey Laura,

see <https://help.trello.com/article/809-creating-cards-by-email> - specifically the "Email threads and duplicated cards" section:
> The first time a message is sent to the board email address, it will create a new card. If replying to the email the messages will be added to the original card as comments. This could happen when the board email address is added to a long email thread, and it is designed this way to prevent duplicated cards. Only ++replies++ ++to++ or ++forwards from++ the **original** email which created the card will result up in a comment being added to the card. To maintain the threaded comments in the card, be sure to forward the original email message or add the board email in the BCC field on your responses.
Are changes to Custom Fields tracked in Trello Card activity logs?
Asked by Harry Samuel:

I am considering upgrading to Business Class and implementing a Custom Field to solve a specific use case which I have. The field I plan to implement will be an integer value, and I want to ensure that whenever that value changes, that change is reflected with a datetime-stamp in the Activity Log for the card so there's a clear audit trail. My assumption would be that the answer to this question is yes, but I want to check before proceeding as if it doesn't then I might look at other solutions to my problem.


Answers:
author: Felix
body: Yes, changes to custom field items generates a "action" on the card. On the card-back, in the activity log, Trello will show you that a given user has updated a custom field, but it won't (currently) show from/to what the value was changed.

This data *is available via the API.*

A request like <https://trello.com/1/cards/:idCard/actions?filter=updateCustomFieldItem> will show you the custom field item updates on the card.

comments: author: redeyemounts
body: Is there a turn around time on it being visible INSIDE the card activity? This should be possible as it is an activity.


Tags: activity

custom-field
Editing of Checklists
Asked by Cedric Gunz:

Hi all,  

short question:  

Is there a power up or a trick, so that only Admins are able to edit Checkliste?  

Background:  
We are using Checklists for our Acceptance Criteria (Web Dev with Scrum) and I don't want the customer to edit my checklists without me recognizing it.  

Looking forward to your answers :-)   

Best regards from austria,  
Cedric


Answers:
author: milynnus
body: [@Cedric Gunz](/t5/user/viewprofilepage/user-id/4483264)

I am afraid there no such intra board controls.

comments: author: Cedric Gunz
body: maybe someone had the same problem und has a workaround for me ;-)   

in the moment i'll make a screenshot of the checklist and add it to the card... but i don't like that


author: milynnus
body: [@Cedric Gunz](/t5/user/viewprofilepage/user-id/4483264)

There is a new power up if you are sharing static details of a card. Search of Adam Cao. He just posted a discussion yesterday.   

Other option is to email via Contalist. The presentation is quite nice.   

I am working on a mirror add on that will allow 2 way sync but it can be restricted to just one way and restricted to checklist (this part is completed)

**Update** : added the client card to an existing mirror dictionary (basically a lookup) table and indeed the concept of sharing with a client is possible. It works even when you move the card to another board. Picture shows internal mirror and a client card that is added after the mirror is established.

![Screen Shot 2021-07-20 at 6.39.26 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/152029iB7ED6B6DC25CE5C8/image-size/large?v=v2&px=999 "Screen Shot 2021-07-20 at 6.39.26 PM.jpg")![Screen Shot 2021-07-20 at 6.14.26 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/152030i1E2D46ED7CE107CD/image-size/large?v=v2&px=999 "Screen Shot 2021-07-20 at 6.14.26 PM.jpg")
Does anyone know how to find variable on Cards and Board?
Asked by Shohei Mitsuhashi:

Does anyone know how to find variable on Cards and Board which is NOT on the list as shown below:

<https://help.trello.com/article/1157-variables>

for example: user's email address, email for this card


Answers:
author: Arne Albers
body: Hey there,

I would also like to get the users email as a variable. To be able to send the user that triggered an action an email (via automation){usermail} does not work I guess.. Because it is not in the documentation.

![Bildschirmfoto 2022-04-08 um 17.04.52.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/192195i085812919ED146ED/image-size/large?v=v2&px=999 "Bildschirmfoto 2022-04-08 um 17.04.52.jpg")

Best wishes

Arne


author: Iain Dooley
body: [@Shohei Mitsuhashi](/t5/user/viewprofilepage/user-id/4479258) you can't get either of those things (either with Butler or with the API), but you can send an email to members of a card using Butler.


author: milynnus
body: [@Shohei Mitsuhashi](/t5/user/viewprofilepage/user-id/4479258)

I have tried and I am able to get my own email but not too sure about other board members because they were all empty. They were no errors.   
I was not successful with card email.
Email to board #lkabelcolor
Asked by gocallaghan:

I am emailing to a board to create a new card and wish to apply a specific label colour. The instructions on the Trello help suggests to use the to doi the following;

Labels: In the subject, add #labelname, #labelcolor, or #labelnumber

My question is how do you specify the actual color to use?, When I added #red to the subject line it just came out as text, it did not place a red lable on the card.

Any Ideas would be appreciated.


Answers:
author: Alex W
body: Hi there, I'm from Trello Support and I'm able to help.

I tested this on our own boards, and it works if you put the label before the title of the card in the email subject. So my email looked like this:

**Subject** : #red Title  
**Email Body**: Description

This created a new card with a red label on it.

I hope this helps, but in case it didn't work for you, can you submit a ticket with our team [here](https://trello.com/contact)?

Thanks,  
Alex