Versions Compared

Key

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

...

Examples

Example 1

Code Block
languagejs
string[] fields = getIssueFields("DEMO-1");
return fields["summary"];

Example 2

We can use the routine function to partially clone an issue by copying only some of the fields from the original issue:

Code Block
languagejs
string[] fields = getIssueFields("TP-1", true);
string issue = createIssue(fields["project"], fields["parent"], fields["issueType"], fields["summary"] + " - part 2");
%issue%.customfield_10000 = fields["customfield_10000"];
%issue%.description = "Partial clone of issue TP-1";
return issue;

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "customfield_routine" and space = currentSpace ( )
labelsarray_routines

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