Change assigned in paren't issue

Issue #849 resolved
Christian Jonathan Maury Solis created an issue

Hi

I am using JWT and my problem is: 1. I have 1 task and N subtasks 2. When a subtask finish, it creates another subtask (brother) in the task 3. When the new subtask is created I want to assign the reporter from the other subtask and the reporter to current user

how can I do that?

Comments (11)

  1. Fidel Castro Armario repo owner

    Hi @andryi777,

    Do you already have implemented the creation of brother sub-task when a sub-task is finished?

    In affirmative case, please, attach screenshots of the configuration of the post-function you are using to create brother sub-task.

  2. Fidel Castro Armario repo owner

    2 questions:

    1. Do you want to assign the new sub-task to the Reporter of the sub-task being closed?
    2. Do you want that current user becomes the Reporter of the new sub-task?
  3. Christian Jonathan Maury Solis reporter

    Nop

    I have one task (T), and 2 subtasks (A and B)

    When the subtask 'A' finish, it calls a transition from task 'T' The transition of task 'T', it calls a subtask 'B' (Question)-->from subtask 'B' can I change the Assignee person of task 'T'??

  4. Fidel Castro Armario repo owner

    Hi @andryi777,

    If you want to assign issue T to a certain user at the moment of creating a new subtask, you should simply add Copy a parsed text to a field post-function in transition "Iniciar Planificacion" with the following configuration:

    Captura de pantalla 2017-10-15 a las 8.56.08.png

    In the example I'm using field code for current user (i.e., %{00020}) at parameter "Text to be parsed...". Here you can insert the field code of any user picker field, or you can also use advanced parsing mode for a more complex expression that returns a username.

    Please, tell me which user you want to assign issue T to, and I will give you the exact configuration you need.

  5. Christian Jonathan Maury Solis reporter

    Hi @fcarmario , with the function that you said "Copy a parsed text to a field" finally I could do that, and with this

    1.png

    Thank you very much!! =D

    Pdta: One question, is possible to test one transition that is in the 5th process (for example) without start from the first process??

  6. Christian Jonathan Maury Solis reporter

    It was very helpful the steps and the function to get the solution, very good, thank you!!

  7. Fidel Castro Armario repo owner

    Hi @andryi777,

    Sorry, I don't understand in your questions what you mean by the following terms: "test one transition", "5th process" and "first process".

  8. Christian Jonathan Maury Solis reporter

    Hi @fcarmario

    I mean: If I have 5 workflows that works sequentially (when the first one workflow finishes it calls to start the second worflow, then, the second workflow calls the third workflow, etc). Is it possible can test one transition in the last workflow without going from the first one)

    (Sorry for my bad english)

  9. Fidel Castro Armario repo owner

    Hi @andryi777,

    Sorry, I can't help you with this last question, since I don't know the details of your implementation.

  10. Log in to comment