Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to force mandatory parent upon Work Item Saving?

We would like to create a work item type called "Coding Task". And for each coding task, its linked parent must be a "Story" task (mandatory). How can we enforce such validation? Thank you.

0 votes



3 answers

Permanent link
We would like to create a work item type called "Coding Task". And for each coding task, its linked parent must be a "Story" task (mandatory). How can we enforce such validation? Thank you.


One way to do it is creating an advisor. See this article:https://jazz.net/library/article/634

0 votes


Permanent link
We would like to create a work item type called "Coding Task". And for each coding task, its linked parent must be a "Story" task (mandatory). How can we enforce such validation? Thank you.


One way to do it is creating an advisor. See this article:https://jazz.net/library/article/634

So is there any out-of-the-box setting or work around if I could not create an advisor?

0 votes


Permanent link
Not that I would be aware of.

0 votes

Comments

We are having a similar requirement - we want to allow creation of task only if it has some parent link.

I read in another thread a suggestion to add custom attribute of WI - which i did.
So i am fine with this solution, since they i can configure it as required attribute,
But the open question is: how can i automatically upon save - add a link to parent according to the value of the custom attribute "Parent"?
i hoped some java script can do that or i must have a participant for this? (then i can have instead of this all workaround an advisor like you suggested earlier, just trying to save the plug in development)
Thanks

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 31 '11, 3:31 a.m.

Question was seen: 6,469 times

Last updated: Feb 11 '14, 8:28 a.m.

Confirmation Cancel Confirm