link issue with the parent of the parent issue
Hi @fcarmario ,
I have a new issue and I hope you can help me with that again.
I have an issue "Customer". out of this I create the Issue "Protocol" with the link "has protocol"(Customer "has protocol" Protocol). Out of the issue "Protocol" I create an issue "CPO" with the link "is protocol of"(Protocol "is protocol of" CPO).
Now I would like to link the "CPO" to the specific "Customer" with the link "is cpo of".
is that possible? thank you!
best regards, Karsten
Comments (9)
-
repo owner -
reporter good morning @fcarmario You are right, the issue links will be set automatically using a post-function.
The relations are: 1. Customer has protocol Protocol 2. Protocol is protocol of Customer 3. Protocol is protocol of CPO 4. CPO has protocol Protocol 5. CPO is CPO of" Customer 6. Customer has CPO* CPO
First I create a Customer manually. Second I create a Protocol out of a Customer using a post-function (link will be set automatically between Customer and Protocol) Third I create a CPO out of the Protocol using a post-function (link will be set automatically between Protocol and CPO) --> Link between Customer and CPO should be set automatically in the same transition.
-
repo owner Hi @kweigel,
I think we can link CPO and Customer using the same post-function you are using for creating CPO.
Please, attach a screenshot with the configuration of the post-function you are using for creating CPO issues.
-
reporter Hi @fcarmario please see the screenshots attached
-
reporter - attached create and link CPO.png
- attached create and link Protocol.png
-
reporter - attached configuration CPO.png
-
repo owner Hi @kweigel,
Edit your Create issues and subtasks post-function for creating CPO issues with the following configuration:
Issue list expression is:
filterByIssueType(linkedIssues("is protocol of"), "Customer")
-
reporter it works! Thanks again!
-
repo owner - changed status to resolved
You are welcome :)
- Log in to comment
Hi @kweigel,
I imagine that "has protocol" / "is protocol of" are both direction of a same issue type. Then the relations you are describing are:
We can use Create issue link for setting the link you propose, but it will be created when a transition is executed, since post-functions are executed only in transitions.
How are you setting issue links "is protocol of / has protocol"? Manually, automatically using a post-function,...