How to capture Sub-Task assignee to set Parent Issue assignee in post-function transition?
Issue #882
resolved
Dear Fidel,
I want to define assignee using post-function (parent) Issue, according to Sub-Task assignee with Sub-Task type (custom field) = 'QA'. (Assume that only 1 Sub-Task could be 'QA' type).
Is possible to implement it with JWT ?
Thanks, Gaby
Comments (7)
-
repo owner -
reporter - I want to set the assignee in Parent issue.
- Assignee in Parent issue should be the same assignee of Sub-task with Sub-Task Type = 'QA'.
- Post-function would be defined in Parent issue workflow.
-
repo owner Hi @gabyj,
You can use "Copy a parsed text to a field" in parent's workflow with the following configuration:
- Target field: Assignee
- Parsing mode: advanced
- Text to be parsed...:
first(fieldValue(%{00003}, filterByFieldValue(subtasks(), %{nnnnn}, =, "QA")))
- Conditional execution:
count(filterByFieldValue(subtasks(), %{nnnnn}, =, "QA")) > 0
replacing nnnnn with field code for Sub-Task Type custom field.
Note that
%{00003}
is field code for Assignee. -
reporter Thank you !
-
repo owner Please, close the issue if my solution works as you expect.
-
reporter It works perfectly !
-
reporter - changed status to resolved
It works !
- Log in to comment
Hi @gabyj,
Sorry, but I don't understand your requirements. Please, try explaining it again using other words, and please, specify the following information.