Lookup unlinked items in a checklist
Asked by Paul:

I am using a card button with Butler that does the following: for each checklist item in a named checklist, it converts the item to a linked card in list copying labels and members.

This works fine. However, sometimes I add additional items to the checklist, and I only want those new items to be converted to a linked card. So when I'm looking up the items in the checklist to converst, I only need the ones that have not already been converted to a linked card. Does anyone know how to achieve this?


Answers:
author: Vongsawat
body: Hm, I know how to do the opposite of only acting on the linked items and not the normal ones, but not the other way round..  

That said, an alternative set-up might be to have a Rule where every time you create a new checklist item starting with "!" or some other little-used character, to immediately convert it in to a linked card, then rename that card as {textaftermatch}.  

Its a little more demanding on the command runs. But you could have different versions of the rule with different special characters to put it in different lists or boards etc, which has been pretty useful so far for me at least.

comments: author: Paul
body: Thanks! This could work potentially (and may be the best option as it seems not possible to find checklist items that are NOT linked). However, it seems as though you have to do this as a rule and not as a card button. Do you know if you can find items starting with a certain character upon clicking a button? It seems not.


author: milynnus
body: [@Paul](/t5/user/viewprofilepage/user-id/4008934) You are currently the second person who wanted this in recent days. It is an interesting for a generic custom PU that various people can deploy individually but served from a common code base. Built one last Sunday as I need the ability to execute code on other users boards with reusable pre-tested code "as a service". Code can be written in such a way that user provide details of a board, list or even a checklist and the code will run and deliver the results.   
{'board_name' : 'string in quotes' , 'card_id' : 'string in quotes' , 'list_name' : '\["string1", "string2", "string3"\]' , 'custom_fields' : {'key1' : 'value1', 'key2' : 'value2'} }


author: milynnus
body: [@Paul](/t5/user/viewprofilepage/user-id/4008934) Here's what I created. Instead of checklist become a link it remains as text. Nothing prevents me from updated it to append a link.

<https://www.loom.com/share/c562846b031148f5afc706b618d0ba2e>

[@Iain Dooley](/t5/user/viewprofilepage/user-id/1416112) Iain, this is version 2

New version has now card link in re-named checklist it.

![Screen Shot 2020-07-16 at 11.19.06 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/103154i50C671648F221938/image-size/large?v=v2&px=999 "Screen Shot 2020-07-16 at 11.19.06 AM.png")


author: Paul
body: Thanks both! Using the ! character looks like a good workaround and I've managed to make that work. The custom code solution is rather neat too, and looks like it could be adjusted to explicitly find checklist items that are not linked (versus not checked.)


author: milynnus
body: [@Paul](/t5/user/viewprofilepage/user-id/4008934) Here's some fancy work I did on checklist. Looking to improve it with new stuff I am learning each day. It responds to new items added. It is, however, a non Butler solution. I recommend Butler where possible.   
<https://www.loom.com/share/a8c984ddaf4e45988a641418ff53ad07>

comments: author: Paul
body: The link you included here is one to a video on connecting Trello to a Google calendar, so I think it might not be the one you were intending to send.