Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=Create+a+sub-task+automatically+based+on+custom+field+selection+-+490999775
widthauto

Html bobswift
<iframe width="560" height="315" src="https://www.youtube.com/embed/OnvxSQYvIyI" frameborder="0" allowfullscreen></iframe>

Code Block
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");

We've encountered an issue exporting this macro. Please try exporting this page again later.