---
title: "Dynamic Issue Context Example 2"
canonical: "https://support.appfire.com/space/PSCONF/15305880/Dynamic%20Issue%20Context%20Example%202"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt)
> 
> ```
> 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.