/
Create a sub-task automatically based on custom field selection
Create a sub-task automatically based on custom field selection
string issue_project = project;
string issue_parent_key = key;
string issue_type = "Sub-Task";
string issue_summary = "New subtask for " + key;
string issue_priority = "Minor";
string issue_description = "";
string[] issue_components;
date issue_dueDate = currentDate() + "30d";
interval issue_estimate = "1h 30m";
string issue_security_level;
string[] issue_fields_mapping;
string subTaskKey = createIssue(project, issue_parent_key,
issue_type, issue_summary, issue_priority, issue_description,
issue_components, issue_dueDate, issue_estimate, issue_security_level,
issue_fields_mapping);
linkIssue(subTaskKey, issue_parent_key, "Relates");
, multiple selections available,
Related content
Create a sub-task automatically based on custom field selection
Create a sub-task automatically based on custom field selection
More like this
Require fields in subtasks
Require fields in subtasks
Read with this
Assign issues automatically based on workload
Assign issues automatically based on workload
Read with this
Create story subtasks and close them when story is closed
Create story subtasks and close them when story is closed
More like this
Display a message custom field based on a drop-down list value
Display a message custom field based on a drop-down list value
Read with this
Copy a custom field value to another field when changed
Copy a custom field value to another field when changed
Read with this