Create Jira Trigger for New Defect Sync

Topic created on behalf of Aamer Choudhry

I need help in creating trigger for the following condition:

Fields from Project 1 that must be copied from Jira instance 1 to Jira Instance 2 when the defect is NEW to the Jira instance 2, and only if specific custom fields are set.

1 Like

Hi!

The following trigger will synchronize all New defects that are under the project “Project 1” (please replace with your actual project name)

project = "Project 1" AND issuetype = Defect AND status = New

Regarding your condition “only if specific custom fields are set”, you can either add this condition to the trigger or handle it in the connection’s Groovy script

Could you please let us know:

  • Which custom fields are you referring to?
  • What values you expect for those fields to trigger the sync?