...
Examples
Example 1
Code Block |
---|
|
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 |
---|
|
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) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "customfield_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.