link issue with the parent of the parent issue

Issue #790 resolved
DVSE_Syncuser created an 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)

  1. Fidel Castro Armario repo owner

    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:

    • Customer has protocol Protocol
    • Protocol is protocol of Customer
    • CPO has protocol Protocol
    • Protocol is protocol of CPO

    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,...

  2. DVSE_Syncuser 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.

  3. Fidel Castro Armario 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.

  4. Fidel Castro Armario repo owner

    Hi @kweigel,

    Edit your Create issues and subtasks post-function for creating CPO issues with the following configuration:

    Captura de pantalla 2017-09-11 a las 17.32.21.png

    Issue list expression is:

    filterByIssueType(linkedIssues("is protocol of"), "Customer")
    
  5. Log in to comment