How do I ensure RQM populates the Environment field in RTC when creating a defect from a failed test?
![](http://jazz.net/_images/myphoto/54f2a14d8da2da4aaafaee0d926ca377.jpg)
When creating a defect from a failed test, I see only a few fields. Environment is not one of the fields visible. It is a 'Required field' and it is supposed to be picked up from the Test case. This is preventing the defect from being saved. My work-around has been to create the defect separately and then connect it to the RQM test case. This is unnecessarily laborious process.
Accepted answer
![](http://jazz.net/_images/myphoto/54f2a14d8da2da4aaafaee0d926ca377.jpg)
Hi,
Please see the below Jazz.net question. You can provide your comments in the work item mentioned.
https://jazz.net/forum/questions/161644/auto-fill-of-fields-in-the-defect-form-from-information-in-rqm
Comments
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
The summary being, that this is not supported today.
I would even add, that the worst you can do is to duplicate this kind of data across several tools. This always leads to the need of synchronize changes etc.
You should be able to report across work item links, if the information is interesting in a report. The RTC user can follow the link to the RQM object to look it up if needed.
![](http://jazz.net/_images/myphoto/54f2a14d8da2da4aaafaee0d926ca377.jpg)
These products are supposed to be integrated and have been set up so a tester can open a Defect from his test case if it fails. The Defect lies in RTC though the test case is in RQM. Currently because of this 'required' field (we want it that way) that is not showing up in the limited fields visible when creating the defect from RQM, at the same time, it doesn't allow the tester to save. So they are currently opening up a second browser window and creating the defect separately. This is unacceptable in an integrated tool.
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
You can create a PMR or Enhancement request.
You can also consider to tune your process so that the work item can be created and the attribute becomes required in a later state.
Unfortunately all integration will always have limitations and customization as you require might be out of scope. The more so, because the integration could be for tools other than RTC.
Reporting is done with tools that can follow links, so I wonder if that would be sufficient.