- edited description
Post Function - Create issues and subtasks
Hi Fidel,
hope you are doing well. I have a Problem which I cannot solve:
I Need to create a post function "Create issues and subtasks".
The following Situation is given.: We have several Projects which have the same Suffix , lets say "ORM" in the Project Name, for example:
ABC 1 ORM, ABC 2 ORM, ABC 3 ORM, ABC 4 ORM
We want to create in each "ORM" Project the same issue.
Is there any possability to do this in one postfunction?
Thanks and Best Regards
Comments (9)
-
-
Hi @David Hausmann,
First of all, I inform you that we have a new support site. Please, use it for your future questions and support requests.
Do you want to use the suffix of the project current issue belongs to, or it's always ORM suffix?
-
Hi Fidel,
it is always ORM. The reason for that is that we now have , lets say , 4 Projects with ORM , but in the future 7 and I do not want to edit the post function again. Thats way we are using the Suffix.
Thanks
-
Hi @David Hausmann,
You should use "Create issues and subtasks" with the following configuration:
Expression for generating seed strings is:
filterByPredicate(availableItems(%{nnnnn}), matches(^%, ".*ORM"))
replacing nnnnn with field code of a Project Picker (single project) custom field. If you don't have any, you should create one for this purpose. You don't need to add it to any screen of your workflows.
-
Hi Fidel,
thanks this is partically working for me. Just one Thing: The function matches is now looking in the Project key with .ORM. Is it possible to look in the Project Name with .ORM instead of the key ?
Thanks alot.
-
Sorry, currently it's not possible. We can extend the parser to support it. Do you really need it?
-
Yes this would be great if this is possible. Would this be in a new Version ?
-
Yes, it will.
-
Thank you very much. Looking foward for the new Version.
Best Regards
- Log in to comment