/
Dynamic Issue Context Example 2
Dynamic Issue Context Example 2
string [] issueKeys = selectIssues("project = Test");
for(string key in issueKeys) {
%key%.labels = "newLabel";
}
When updating the values of fields using a dynamic context the issue key must be wrapped in % signs. This shortcut converts the issue key (which is simple text) into an editable issue object. Without using the substitution shortcut (the % signs) the issue is read-only.
Peacock
, multiple selections available,
Related content
Dynamic Issue Context Example 1
Dynamic Issue Context Example 1
More like this
Dynamic Context
Dynamic Context
More like this
How to work with issue data in different contexts
How to work with issue data in different contexts
More like this
getIssueFields
getIssueFields
More like this
getIssueFields
getIssueFields
More like this
saveModifiedIssues
saveModifiedIssues
More like this