youngmon/atlassian-qna huggingface dataset:
Moving first "x" cards from a specific list using trellinator
Asked by Smarth bot 1:

Hi, I am new to trellinator framework. I am trying to add a functionaity to my board.

I want a user different than trellinator to post a comment. This comment will be a number that we can call "x".

This comment will trigger a function that will copy the first "x" cards from list "A" to list "B".

So the use case will be...

1. User A post a comment with number "2".

2. The first "2" cards from list "A" will be copy to list "B"

Here I have some code I have been able to build.

function copyOnComment(notification)  
{  
var notif = new Notification(notification);  
var A = new Trellinator().board("Board A").findOrCreateList("A");  
var B = new Trellinator().board("Board B").findOrCreateList("B");  
var x = 0;

if(notif.member().notTrellinator())  
{  
notif.board().list("A").cards().each(function(card)  
{

x = x+1;  
card.copyToList(B,1);

if(x\>1)  
exit();  
});  
}  
}

Right now the copyToList function is not working. If I change the copyToList for a "post comment" it will stay on a loop and post comments on first two card list infinitely.

Any ideas on how to make this work?


Answers:
author: Iain Dooley
body: [@Smarth bot 1](/t5/user/viewprofilepage/user-id/4111031) great to see you're getting some use out of Trellinator :)

Looks like exit(); doesn't exist in Google Apps Script, maybe upgrade your project to the V8 runtime? I haven't tested Trellinator extensively using the V8 runtime but I do have a couple of projects running on it and it seems to Just Work(TM) for the most part.

Here is your code rewritten without the use of exit():

<https://gist.github.com/iaindooley/82e600603fa363ab41257f55818e47c4>

Also note that when this failed, the reason it was "looping" was because when an exception is thrown that isn't an InvalidDataException or an InvalidActionException it will store the notification in the ExecutionQueue tab and retry it every 10 minutes (this is because sometimes it's an API error, and it's better for something to happen twice than not at all).

When debugging this, you can copy the JSON from the ExecutionQueue and do this:

var obj = {JSON GOES HERE};

functionName(obj.parameters);

If you execute that directly from the script editor then you can see more clearly what exception gets thrown. You can also see the exceptions logged in InfoLog but sometimes that moves pretty fast so I find the above an easier way to drill down into what's causing the problem.

Happy automating!

comments: author: Smarth bot 1
body: Thank you very much for the info, very useful. Help me a lot to implement this functionality.


Tags: comment

copy

trellinator
Trello Calendar & iCal not syncing
Asked by Rae Mano:

does anyone know how I can fix this ? I have followed the instructions and the iCal link for Trello is active. But still nothing appears on my calendar


Answers:
author: Torben_trello
body: Are you able to see the cards with due dates on the Calendar in Trello directly? Is it possible that the "due dates" have been changed fairly recently? The update frequency is dependent on how often the app pings our server via the feed for updates. From experience we know, that most services or apps do this only once per day, so the changes may not have been requested by the Calendar app to be sync'ed over to the Calendar app.  

You may also want to check out the Cronofy Power-Up which is a service that links calendar services like Trello and Outlook or Google Calendar, and updates much more frequently as it uses the API and is easier to set up, especially when using multiple boards: <https://info.trello.com/power-ups/cronofy>
Daily or Weekly Calendar View
Asked by Curtis Cramblett:

I would like to be able to see my Trello Calendar in more detail. A day or even week view. Trello allows me to define a time for the due date and it would be nice to see those due times laid out on a daily or possibly weekly cal

Monday

8 am weed garden

9 am call for seats

11 am ...

at the moment the calendar has a month view which does not allow me to easily see all my tasks for the day or move those tasks around in the day.

Anyone have any solutions?


Answers:
author: Stephen Addis
body: If you have the amount of deadlines and things that you need to view in that much detail, the Trello dates due is not really the vehicle for that, its more for the occasional or spaced out timeline.  

You can search templates ... sometimes easier straight from google like going Trello Weekly Planner and you can get templates like this one, which sounds like it fits your requirements.  

<https://trello.com/b/fYmoGd4j/weekly-planner>


Tags: calendar
notification email for due date card
Asked by Komeda electronics:

Hi,

is it possible to receive a notification email more than 2 days before the due date of a card? Example, can I receive an email (or other kind of message) 7 days before the due date? Thanks


Answers:
author: Stephen Addis
body: This topic is the same as one posted about ten days ago ... might find it on search, but essentially nope, its a no can do.  

Premium package, or power ups, then thats a different story.  

However, work around is to set the date 7 days early, and in brackets on card name put (T-7d), and adjust the T-d if you change it from the standard days, and if its a once off, you might want to have a coloured tag on their saying "ACTUAL DATE", or something similar.  

Work arounds is all you have am afraid. Though, if you have a look at Zapier, there may be a rule you can apply, and use that to extract the dates and send you the reminders and stay with genuine dates.  

There is a calandar view power up, maybe look at that and just LOOK a week ahead than rely on notifications, so the notifications if they come and are 2 days away, are genuine ... YOU NEED TO ACTION ... not just a put it on snooze email because I like receiving emails.

comments: author: Komeda electronics
body: i am learning now how premium package works, very interesting and useful, thanks for reply


author: Stephen Addis
body: No probs, hit the answered button and will give people an idea that there is a viable solution besides just a question.


author: milynnus
body: [@Komeda electronics](/t5/user/viewprofilepage/user-id/4110916) Are you on the Free Plan? If so I can understand your question b because Butler Calendar and Due Date commands are not available.

Otherwise, you would have option to create a report variable send it via report each day.

(not tested but a scratch Butler command)

```
every day at 12:50 pm, create a report in variable "due_2days" with all cards due in 2 days using pattern "[{cardname}]({cardlink})", and send an email notification to "{%Email}" with subject "Cards Due in 2 Days" and message "List of cards\n{$due_2days}"
```

comments: author: Komeda electronics
body: I'm on business plan, but I'm not so expert about trello, I'm learning. But now I've seen that on Butler there are many chances, example on due date commands, send emails, add labels, stickers. Lot of very useful functions. Thanks anyway and sorry for question.... ;)
Error when connecting to slack
Asked by Alhoqbani:

When I click on \`Add to Slack\` button to connect my Trello's team to slack, I receive this error: \***Trello could not be installed\*** Unapproved permissions requested  
links: read, links:write

![Screen Shot 2020-10-04 at 3.15.49 AM.png](/t5/image/serverpage/image-id/112885i8A55D47702983CF2/image-size/large?v=v2&px=999 "Screen Shot 2020-10-04 at 3.15.49 AM.png")


Answers:
author: Oanh Hu?nh
body: i've email the support team. They said it's a bug. They're fixing it. So. Let's wait :(

*''We don't have an ETA on when a fix for the issue will be pushed, but as soon as one is available we will deploy it.''*


author: Oanh Hu?nh
body: Hey, look like they'vs fixed it. I can connect now. Let give it a try. Thanks support team \<3

comments: author: mrkdnk
body: Works for me also!

Thanks.


author: Oanh Hu?nh
body: i met that problem too. Some one help please

comments: author: Dalia Lavi
body: also me. any leads on this?


author: mrkdnk
body: Another one with the same Issue.


author: Dalia Lavi
body: i wasn't able to do Cody C_'s suggestion (i'm not technical enough), but in the trello board itself I added slack as a powerup, and that worked. but you would have to add each individual board.


author: Cody C.
body: I'm seeing the same thing, and I think I found a quick but dirty fix. If you right-click and copy the text behind the "Add to slack" button in Trello you'll get the full list of permissions within the link. Paste that link into a text editor and remove "links:read,links:write," then paste it back into the URL bar in your browser and give it a whirl.

comments: author: Oanh Hu?nh
body: i tried it. It working But i don't know if it could cause any issue about link read, write when we do that


Tags: slack
photo de fond de tableaux
Asked by pelissier:

brj

je souhaite mettre des photos personnelles en fond de tableaux svp et ne pas utiliser tjrs celles sugg?r?es, comment faire?

merci bien


Answers:
author: Stephen Addis
body: Si vous essayez de changer l'image d'arri?re-plan, cela ne vient qu'avec les packages premium ... bien que Gold soit un package premium avec des fonctionnalit?s suppl?mentaires et pas si cher ... et pour chaque utilisateur que vous invitez qui ouvre un compte, vous obtenez un mois d'or gratuit ... jusqu'? 12 mois gratuits.


author: Stephen Addis
body: Mettez-les sur une carte en tant que pi?ce jointe, avec un minimum de texte dans le nom, ou mettez simplement le nom de la photo pour que vous voyiez la photo en bas de la liste.


Tags: image
Move a list to a different board
Asked by Kate Luby:

Hi, I am trying to move some lists off one board onto a new board. How do I do this?


Answers:
author: milynnus
body: [@Kate Luby](/t5/user/viewprofilepage/user-id/4105779) if you do this often enough you might consider using Butler command to collect cards from a list and copy/move the cards. You may have to edit the command or use a trigger master board instead. If you wish to do it on a regular basis using calendar then see my post on [\<A Powerful Combination](https://community.atlassian.com/t5/Trello-discussions/A-Powerful-Combination/m-p/1479754#M1441)\>


author: Stephen Addis
body: If you go to the options on the card, there is a move or copy option, then you choose the board and where you want to copy it.  

You may need to do each individually, but does still save a lot of typing.
How can I add due date
Asked by Charlie RJ:

Hello Trello people

Recently I downloaded Trello because I want to stay more productive and accountable in my tasks, however, I don't know how to set up due dates, it's super important for me having due dates to being able to track my progress but I'm struggling trying to understand the interface, can anyone tell me how to add due dates, please?


Answers:
author: Viktoria Tamm
body: The first option:  
1. You have to hover over the card you want to add due date to  
2. Then click on the pencil icon  
3. Then from the list of options choose **Change due date**

The second option:  
1. You have to click on the card you want to add due date to  
2. On the right there is a section **add to card** and the fourth option is **Due date**

More information can be found here: [Adding due dates to cards](https://help.trello.com/article/794-adding-due-dates-to-cards#:~:text=You%20can%20add%20a%20due,your%20mouse%20over%20a%20card. "Adding due dates to cards")

comments: author: Stephen Addis
body: Yep, thats the only two ways I know ... its just a case of diving in and having a play, and if your feeling apprehensive, make a copy of the board and call it "test \& play" which is what I do.


author: Charlie RJ
body: Thank you girls for your assistance, it worked

Best Regards :)
Attachments sent via email are displayed as a winmail.dat file
Asked by wegan george:

Attachment sent by email are displayed as winmail.dat file. I have adjust the email message format to html but still no change


Answers:
author: Torben_trello
body: There are some changes in the Outlook configuration required. We do have steps here: <https://help.trello.com/article/774-emailed-attachments-show-up-as-winmaildat-file>


author: Iain Dooley
body: [@wegan george](/t5/user/viewprofilepage/user-id/4110368) I haven't seen this behaviour but I would recommend recording a screencast with loom.com and sending it directly to Trello Support rather than to the community by going back to trello.com/contact

comments: author: george ewusi
body: Hello Iain,

OK, I will. Thanks for the feedback
Mass update permissions across multiple spaces
Asked by frederic_vu:

Hello,

We need to mass update the Space permissions of 200+ spaces to implement new security policies. We need to replace the existing permissions of all those spaces with a set of new permissions (set of groups and individuals (tools) with new defined rights). Is there a quick way top do this massively ?

Thanks in advance for any help,

Frederic


Answers:
author: Dave Mathijs
body: Hi [@frederic_vu](/t5/user/viewprofilepage/user-id/4481543) ,

There is no such feature out-of-the-box.

[@Tony Gough _Adaptavist_](/t5/user/viewprofilepage/user-id/2011656) is this possible with **ScriptRunner for Cloud?**

comments: author: Tony Gough _Adaptavist_
body: Hi,

Unfortunately Scriptrunner for Cloud does not have any out-of-the-box built-in scripts for mass space edits.

Kind regards,  
Tony


author: Priya Ayyadevara
body: Is there a script for Confluence server?


author: frederic_vu
body: thank you for your answers and help !

kind regards,

Fred


Tags: cloud

confluence-cloud

permission

space
How to remove recent pages from recent section?
Asked by someshkumar720:

How to remove recent pages from recent section?

Whenever I view someones page. i get that page in my recent page section which i dont want to see them, is there anyway to remove those recent viewed pages ?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@someshkumar720](/t5/user/viewprofilepage/user-id/3560221) ,

That feature is provided by System App "Recently Viewed Plugin". Try to disable it on App side.

Hope this helps,

Fabio


Tags: cloud

confluence-cloud
connection problem between jira and confluence
Asked by Jean-Michel Duvivier:

Hello, since the update of confluence in 7.13.4 and jira 8.22. we have lost the links between application. Confluence link in jira: error says enable OAuth in confluence (how to enable OAuth?) jira link in confluence: we have lost the link (how to create a new link and where to find the keys?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Jean-Michel Duvivier](/t5/user/viewprofilepage/user-id/2361016) ,

first of all your links are not lost but they will work again after that Application link issue will be fixed.

Please, go to Application Link (Admin-\>Applications-\>Application links) for both Jira and Confluence and set, as authentication, "OAuth (impersonating)". After doing that please check Application Link Status on both side.

Hope this helps,

Fabio

comments: author: Jean-Michel Duvivier
body: No it's ko :

![Capture-jira.GIF](https://community.atlassian.com/t5/image/serverpage/image-id/191998i6D3C9716D605D46B/image-size/large?v=v2&px=999 "Capture-jira.GIF")![Capture-confluence.GIF](https://community.atlassian.com/t5/image/serverpage/image-id/191997i9C51EEDE57B238E4/image-size/large?v=v2&px=999 "Capture-confluence.GIF")


author: Fabio Racobaldo _Herzum_
body: Are u sure that ports are correct? Can you try to use internal URL in "URL de l'application"?


author: Jean-Michel Duvivier
body: url it's ok but : We cannot view the status of this application link because outbound authentication is disabled. How to activate it?


author: Fabio Racobaldo _Herzum_
body: This guide could helps you on that <https://confluence.atlassian.com/kb/ssl-and-application-link-troubleshooting-guide-719095282.html>


Tags: application-link

confluence-server

jira

oauth

server
Is there a way to control the pages distribution in a confluence document?
Asked by Ilan Graidy:

When a confluence page is being converted to pdf file (probably .doc in addition), the data is spread across the pages without the ability to decide in a specific location that it's considered a new page.

This is causing visibility issues. I can write a new headline at the end of 1 page and the text afterwards is written in the next pdf page.

What I need is a way to tell the pdf converter: "this text from here starts in a new page..."


Answers:
author: Jack Brickey
body: hi [@Ilan Graidy](/t5/user/viewprofilepage/user-id/1340147) , AFAIK there is not a solution for this in Cloud. There used to be a means in the old editor using the Formatting \> Div macro but we lost that and we don't have the ability to create our own macros. There is an open suggestion you may wish to vote/watch - [CONFCLOUD-28115 - New macro: Provide page break macro](https://jira.atlassian.com/browse/CONFCLOUD-28115)

comments: author: Ilan Graidy
body: Hi,

Many thanks. I voted for this feature.

I would like to mention 1 thing though. I'm in the SW business for more than 10 years and pdf documents are vastly used among Engineers. If you want people to write light documents in confluence then you should implement basic things, and this is one of them.

I can tell you that each time I'm considering on writing a document that will be spread across several Engineers, instead of picking Confluence immediately, then I need to think of the possible complications...


author: Jack Brickey
body: Don't disagree. Good feedback to share with Atlassian in that issue. While I don't currently export much and when I do the importance of page breaks is rare, I can understand where this would be desirable.


Tags: cloud

confluence-cloud
Is there a way to preview a page in pdf mode?
Asked by Ilan Graidy:

I don't want the page just to preview. I need it to be converted to pdf and show me how it will look like. In order to do that today, I need to manually convert it, download it and view it. This is a long process


Answers:
author: Shannon S
body: Hi [@Ilan Graidy](/t5/user/viewprofilepage/user-id/1340147),

I understand you want to get a preview of how the PDF export of a page will look. Unfortunately, that's not currently possible. We had a feature request for this a while back, but we do not have plans to implement that.

* [CONFCLOUD-17528](https://jira.atlassian.com/browse/CONFCLOUD-17528) *Preview for PDF Export*

There are other Marketplace Apps, such as [Scroll PDF Exporter for Confluence](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?hosting=cloud&tab=overview). I haven't used them personally, but you can check with the vendors and see if they offer an option to preview the export.

Take care,

Shannon \| Atlassian Community Support

comments: author: Ilan Graidy
body: Thanks [@Shannon S](/t5/user/viewprofilepage/user-id/510046)


author: Anna
body: Sorry for replying to an older thread, but I have the same question.

Currently, I make a small edit to a page, publish without notifying, then convert to PDF, download, check if it looks alright, and then repeat. This for tens to hundreds of times. It's a very slow process.

I tried to use the PDF macro, but I'm afraid I don't understand it. There is no preview and the save button is greyed out. Could anyone explain this to me? I'd love to be able to just preview a PDF before publishing and downloading it.


author: Srinatha T
body: Hi [@Ilan Graidy](/t5/user/viewprofilepage/user-id/1340147) ,

Below KB doc has all the info regarding the PDF macro. You can go through the same.

* [PDF Macro](https://confluence.atlassian.com/doc/pdf-macro-375849180.html)

I forgot to mention this in the previous reply. Hope it helps. Have a good day!

Thanks,

Srinath T

comments: author: Ilan Graidy
body: Hi,

I don't think that you understood me. I'ts probably because I didn't explain myself well.

I don't want to preview a different pdf from my document. I want to preview the current document that I'm working on to see how it will look like if I would export it to pdf.


author: Srinatha T
body: Hi [@Ilan Graidy](/t5/user/viewprofilepage/user-id/1340147) ,

Welcome to Atlassian community.

Have you tried PDF macro ? That has the option to preview it. You can try that.

Thanks,

Srinath T


Tags: cloud

confluence-cloud
Is there a way to identify whether an attachment is visible on a page?
Asked by Henry Edwards:

I'm aiming to delete duplicated attachments from a Confluence instance using the rest API. There are multiple duplicated files which are attached to pages but not visible on the page, and not being used, hence we're looking to delete them.

Is there a field which can be used with the rest API to identify attachments which are attached to a page but don't appear on it?


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

All attachments are visible on a page, if the person looking has permission to see the page.

I think you mean "does the page include a 'show attachment' macro/function so the attachment is partially or fully rendered when viewing the page".

It is a technical quibble on the wording, but it is important because the answer to "is an attachment visible on a page" is simply "yes".

I think the answer you are looking for is "not easily". You would need to search all of your page content for the macros that make attachments render on the page, and bear in mind that a most of those macros do not limit themselves to "file attached to the current page" - most can draw in attachments from other pages.


Tags: cloud

confluence-cloud
after team calendar bundled with data center?
Asked by sabari M:

we have team calendar license till APRIL last ,so far team calandar is bundled with data center after april how it will be working ...


Answers:
author: Srinatha T
body: Hi [@sabari M](/t5/user/viewprofilepage/user-id/4864659) ,

Welcome to Atlassian community.

You can go through the below page for more info regarding the same.

* [team-calendars-for-confluence-data-center](https://www.atlassian.com/licensing/team-calendars#team-calendars-for-confluence-data-center)

I hope the above info helps. Have a good day

Thanks,

Srinath T

comments: author: Srinatha T
body: [@sabari M](/t5/user/viewprofilepage/user-id/4864659) , so basically if you should be able to renew this app along with your contract with server I believe as per the below snippet from that page.

"If you have an existing server app license, you can continue to renew support and maintenance for these apps until the end of support date. "

Thanks,

Srinath T


author: sabari M
body: thanks [@Srinatha T](/t5/user/viewprofilepage/user-id/4686256)

We have successfully renewed the confluence data center license and now valid status has been changed with new date. But still team calendars app showing the message "Renew your license to continue using it" in the manage apps screen.  
Now we have questions below.

After expire date team calendar will work continuously with out license key update ?  
Or  
Do we have to do anything before expire date ?


Tags: confluence-server

server
Reduce Latex rendering time
Asked by Chris B.:

For one confluence page I created, I inserted \~80 "LaTeX Math Inline" sections and \~20 "LaTeX Math Block" sections.

Every time the page is loaded (or after clicking on "Edit page"), it takes \~one minute for all formulae to be rendered. Is there an alternative option? Can I avoid rendering the sections every time (although there are no changes in the LaTeX code)?

Sure, they need to be shown in my browser, but is there e.g. an option to store them as pictures as long as the code in the background is not changed? (Or is there an alternate plugin for using LaTeX that works faster?)


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

The LaTeX macro is doing a lot of work when it is rendering the formula, there's no way to speed it up from the outside. The only way to speed it up would be to optimise the code for performance, which I suspect the author has already done, or remove functionality.

Yes, you could convert them to images and save the image, but then you wouldn't be able to edit the macro content.


Tags: cloud