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?
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
Please guide
One answer
"'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.