Create JIRA issue via a Drupal site....
Help me plz,
I want to create JIRA Issues but I want to push informations from my Drupal site. Any ideas please?
Here is my drupal Form :
/**
* JIRA url
*/
$form['JIRA_Informations'] = array(
'#type' => 'fieldset',
'#title' => t('JIRA Informations'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
);
$form['JIRA_Informations']['blabla_url'] = array(
'#type' => 'textfield',
'#title' => t('URL of the JIRA instance'),
'#default_value' => variable_get('blabla_url', 'http://localhost:8443'),
'#description' => t("Enter the URL of your JIRA instance (e.g. http://yourjira.com:8443)"),
'#required' => TRUE,
'#size' => 50,
);
$form['JIRA_Informations']['blabla_key'] = array(
'#type' => 'textfield',
'#title' => t('JIRA Project KEY'),
'#default_value' => variable_get('blabla_key', ''),
'#description' => t("Enter the KEY of your JIRA Project"),
'#required' => TRUE,
'#size' => 50,
);
/**
* Authentication Data
*/
$form['Authentication Data'] = array(
'#type' => 'fieldset',
'#title' => t('Authentication Data For Your JIRA'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
);
$form['Authentication Data'] ['Username'] = array(
'#type' => 'textfield',
'#title' => t('Username'),
'#required' => TRUE,
'#description' => t("Enter the Username of your JIRA account"),
'#default_value' => variable_get('Username',''),
'#size' => 47,
);
$form['Authentication Data'] ['Password'] = array(
'#type' => 'password',
'#title' => t('Password'),
'#default_value' => variable_get('Password', ''),
'#required' => TRUE,
'#description' => t("Enter the Password of your JIRA account"),
'#size' => 47,
);
return system_settings_form($form);
}
Now what i want is to connect this form so what the user will select will go to JIRA as issue informations..