Create multiple workitems at once

Description
JakobS
Posts: 2
Joined: Fri Feb 15, 2019 8:15 am

Create multiple workitems at once

Postby JakobS » Thu Feb 21, 2019 7:35 am

Hi,

how can we create multiple workitems at once?

Background:
The project contains a "userstory" workitem and a "task" workitem. To improve our workflow we currently need to create the task workitems (which are child of a userstory) manual.
We would like to create at once several tasks (from some form of a template) as a child of a userstory.
For example:
- Task "Implementation"
- Task "Write unit tests" with estimation field filled with 3h
- Task "Write acceptance tests / ...
- some more tasks ...

How can this be solved with Polarion? Is there some solution available and an example?

Thank you in advance for any support.
JakobS

vanliers
Posts: 4
Joined: Wed Sep 12, 2018 12:01 pm

Re: Create multiple workitems at once

Postby vanliers » Fri Feb 22, 2019 8:22 am

Hi,

one possible solution is to add a ScriptFunction to the workflow of the user story and write your own function i.e. in JavaScript, that creates and links new tasks to the user story (our duplicates them from a template).

Doing it by using a ScriptFunction allows you to create the tasks when the user story is passed to a specific status (i.e. team has committed to implement the user story)

regards,
Stefan

JakobS
Posts: 2
Joined: Fri Feb 15, 2019 8:15 am

Re: Create multiple workitems at once

Postby JakobS » Fri Feb 22, 2019 11:42 am

Hi,

regarding the solution with the ScriptFunction:
Is there an example available how this can be achieved?
How can a ScriptFunction be added?

regards
JakobS

ahh
Posts: 9
Joined: Thu Jan 24, 2019 4:34 pm

Re: Create multiple workitems at once

Postby ahh » Fri Mar 08, 2019 9:16 pm

You could also used the CreateLinkedWorkitem functional that is available out of the box in Polarion instead of using ScriptFunction. I think should should be able to set up multiple of this function on a workflow action if you want to create multiple linked items at once.

scharph
Posts: 8
Joined: Wed Jul 04, 2018 9:19 am
Location: Austria

Re: Create multiple workitems at once

Postby scharph » Mon Mar 11, 2019 6:52 am

Maybe this helps you:

viewtopic.php?t=97834


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 10 guests