- changed version to 2.2.43
Delimiter? : Read fields from linked issues or subtasks
Hello,
I have a very simple workflow condition: I have a parent task with about 2-5 subtasks, on a certain transition I need to copy each subtask description into the parents description.
I am using Read fields from linked issues or subtasks with the following rules and almost everything works perfectly:
Except, that it's adding a "comma" after each item in the parents description - eg:
<subtask1 text>, <subtask2 text>, etc.
Is there a way to specify or (in my case) eliminate the "comma" delimiter?
Comments (4)
-
reporter -
repo owner Hi @jamesguerin,
You can use "Copy a parsed text to a field" post-function with the following configuration:
Text to be parsed is:
toString(textOnIssueList(filterByIssueType(subtasks(), "Bug, New Feature, Story"), "\nh2. " + ^%{00000} + "\n" + ^%{00001} + "\n----\n"), "")
where
%{00000}
is field code for Summary, and%{00001}
is field code for Description.In my example I have selected the following 3 issue types: Bug, New Feature and Story. You should write the names of the ones you want to use in your case.
-
reporter Thanks, this works perfectly.
-
reporter - changed status to resolved
- Log in to comment