I was looking into making a copy action that dupes and moves the item in one action. I have found that dupe mutation which i have working but I cannot find in any documentation for the mutation that is being used to move the item to a different board. Is this a mutation and I am just missing it I have tried to use the move item to group mutation but that only moves it within the current group.
Just to be sure we are on the same page here, what you are trying to do is to duplicate the item so that you can have the item in the original board, and then moving the item to another board so the same item appears in both boards.
Yes, that is correct I was looking for the documentation on the but was not able to find anything. I know I can use both of the OOTB actions but I was looking to make this an additional action that I would be able to handle both in one action. This is not dependent on a status or any other value but just when I need to copy the item to a different board I wanted to make my own action that could handle both.
In this case, 11223344 would be the board in which the copy will be created. This new item would not have the same ID as the original one since the IDs are unique.
If instead, what you want is to make a copy in the original board (with a different item ID) and then transfer the original item to another board and maintain that item’s ID in the second board, you could do this by combining requests with our manual automations. You would need to duplicate the item, then do something to trigger an action on the original item (like changing a status for example) and use our built-in action “Move item to board”. The original item would be moved to the second board and it would maintain its ID. You could trigger the trigger with an API request (maybe changing the status column’s value):
Sorry, I should have specified I tried option 1 but you are not able to specify a group. What would you do if you had multiple groups in the second board, for example for my test I have my item to be duped and I have a new board with two groups. If I use option 1 it dupes the item to the first group but I want to dupe the item to the group with id of (group_title).