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=Dynamic+Issue+Context+Example+2+-+15485873
widthauto

Excerpt
Code Block
string [] issueKeys = selectIssues("project = Test");

for(string key in issueKeys) {   
    %key%.labels = "newLabel";
}
Info

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.