Hi everyone,
I'm developing a custom card extension and I want to implement dependency linking between cards, much like the functionality seen in the native Jira integration.
I've noticed properties in the LucidCardIntegration
parent class, specifically importDependencies
and showDependencyMapping
, which strongly suggest this is possible for custom extensions. However, I'm unable to find any documentation or examples that explain how to properly implement this feature. I've already checked the lucid-samples
GitHub repository but couldn't find a relevant example.
I would be grateful if someone could provide some clarity on the following points:
My Specific Questions:
-
How are dependencies defined in the data source? When importing card data, how do I structure the data to tell Lucid that one card depends on another? Do I need a specific column or property that contains a unique ID of the parent card?
-
What is the implementation mechanism? Beyond setting
importDependencies = true;
, what else is required in the extension's code to make the dependency linking work? How does Lucid identify the correct parent card to link to? -
Is there any documentation or an example implementation? Could you point me to any developer documentation, tutorials, or a working code example that demonstrates how to set up card dependencies?
-
Are cross-extension dependencies possible? Can dependencies be created between cards from different custom extensions? For example, could a 'GitLab Issue' card from one extension be linked to a 'GitHub PR' card from a second, separate extension?
Any help, code snippets, or pointers in the right direction would be greatly appreciated!
Thanks in advance.