Copy value to sub task on condition

Issue #385 resolved
Ben Richman created an issue

Hi there, sorry to bother you again. Having real trouble figuring out a post function i want to create.

Copy a custom field value to same custom field on sub task's of a particular issuetype (if sub task of that issuetype does not exist, do nothing)

The field is "Tester" and i want it copied to the Test Sub-Task "Tester" field when transitioning a particular part of the workflow. If the test sub task does not exist, then do nothing at all.

Please help.

Comments (3)

  1. Fidel Castro Armario repo owner

    Hi Ben,

    You should use "Write field on linked issues or subtasks" post-function with the following configuration:

    • Select a source type: field in current issue
    • Source field: Tester
    • Target field: Tester
    • Filtering by issue link type: all unchecked
    • Write also subtasks fulfilling condition on issue type, status and project: checked
    • Write also sibling subtasks fulfilling condition on issue type, status and project: unchecked
    • Filtering linked issues or subtasks by issue type: check only Test Sub-Task
    • Filtering linked issues or subtasks by status: all unchecked
    • Linked issues or subtasks belong to: any project (actually it doesn't matter).
    • Filtering by field values: leave it empty
    • Write linked issues and subtasks recursively: unchecked
    • Conditional execution: leave it empty
  2. Log in to comment