Move subtasks in sync with Parent

Issue #154 resolved
Will created an issue

Our parent-level issues and subtasks use the same workflow. I've looked through the documentation but didn't find exactly what I was looking for, or I missed it - if it exists could you link me?

I'm trying to get the subtask(s) of an issue to move along the workflow with the parent issue. i.e Parent is put "in progress", subtasks moved to "in progress" regardless of it's current status.

Thanks, Will

Comments (10)

  1. Fidel Castro Armario repo owner

    Hi Will,

    You need to use 2 post-functions in transition "Start Progress" in parent's workflow:

    1) "Copy a parsed text to a field" with the following configuration:

    conf-1.png

    2) "Write field on linked issues or subtasks" with the following configuration:

    conf-10.png conf-11.png conf-12.png

    Once configured, transition "Start Progress" in parent issue's workflow looks like this:

    conf-20.png

    IMPORTANT: You have to use a similar configuration in any transition of parent's workflow that produces an issue status change, but replacing "In Progress" in post-function "Copy a parsed text to a field" with the target status of the transition.

  2. Fidel Castro Armario repo owner

    Yes, you should insert both post-functions to all the transitions in parent's workflow. You simply have to change the name of status in first post-function, in order to match the name of the destination status in the transition where both post-functions are inserted.

  3. Will reporter
    • changed status to open

    Doesn't appear to be working.

    Screenshot 2015-08-11 13.58.29.png

    Do you see any issues with my setup above? I've tried it with "In Analysis" as well as with "IN ANALYSIS" but doesn't seem to make a difference. Any blaring issues?

  4. Fidel Castro Armario repo owner

    Please check that there is at least a transition from subtask's current status to "IN ANALYSIS" status.

    When you write the name of a status (case is ignored) into virtual field "Issue status", what the plugin does is to look for transitions available from the current status of the issue, to the status whose name has been written into virtual field "Issue status", and in case such a transition exists, the plugin tries to execute it to move the issue to that status.

  5. Will reporter

    It was user error afterall. I was using 'Ephemeral number' when I was supposed to be using 'Ephemeral string' and now it works.

  6. Will reporter

    I've gone through all my transitions to make sure I'm using the right Ephemeral string field, and that there are no typos in my status names. Seems to work most of the time and I can't nail down why it won't work in some instances. I assume I'm missing something.

    EDIT/UPDATE: I was missing something. One of the Ephemeral fields I entered was storing the Step Name (id) rather than the actual name of the Linked Status.

    Thanks Again!

  7. Log in to comment