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

RTC server side plugin support

 Hi Team,


I have created one server side plugin with RTC 6.0.6.1. The plugin is about "Create child work item automatically with the summary same as parent on save parent work item action". The plugin is working as expected in my local environment. The field against attribute is mandatory in both parent and child in my local sever.
I have imported the template from production and created project area using it. I have changed the work item ids as per the production template and deployed the plugin. The mandatory fields are different in parent and child here. If I tried to create parent work item (filled all mandatory attributes in parent work item), and saved the same at that time it pop up the below error
"'Save Work Item' failed. Preconditions have not been met: The 'Owned By' attribute needs to be set (work item <05:27:01>)."
but I have already filled all mandatory attributes from parent work item including Owned by.
Can anyone please help me on the same? 
1. Please guide me on can we need to take consideration the mandatory fields of child work items too ? 
2. When we create parent parent work item, which attributes are carry forward with linked child?
Please guide

0 votes



One answer

Permanent link
 "'Save Work Item' failed. Preconditions have not been met: The 'Owned By' attribute needs to be set (work item <05:27:01>)."
but I have already filled all mandatory attributes from parent work item including Owned by.

Apparently the server disagrees with your assessment and the "owned by" is not set to a valid owner on save, probably for the generated child work item.

1. Please guide me on can we need to take consideration the mandatory fields of child work items too ? 
As far as I know there is no mechanism that provides the required attributes. It is dynamic, can change and is defined in the project areas process. You have to look up the rules or find it out creating a work item of a desired type manually. Then you have to adjust your operational behavior to that. If the process is changed new mandatory attributes could be introduced.


2. When we create parent parent work item, which attributes are carry forward with linked child?

There are no attribute relationships that are maintained between parent/child relationships. Each of the work items are totally independent. There is only the link between rthem.

0 votes

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: Oct 22 '21, 1:38 a.m.

Question was seen: 924 times

Last updated: Oct 22 '21, 7:34 a.m.

Confirmation Cancel Confirm