While raising Bug or Defect in Jira, the screen should prepopulate following custom fields information on New Defect/Bug page automatically based on their values in Test / Test Execution page.
The following fields of the issue type bug should be filled automatically:
• Detected in Application
• Detected in Test Plan
• Detected in Fix Version
• Detected in Test Environment
• Project number