---
title: "Fetch the comment added during a transition"
canonical: "https://support.appfire.com/space/JMCF/465437182/Fetch%20the%20comment%20added%20during%20a%20transition"
format: markdown
---
> Macro (aura-html)

### Abstract

This code snippet fetches the comment added during a transition

### Logic

Access the text of the comment using `transientVars` variable.

### Snippet 

```javascript
transientVars.comment
```

### Placeholders

NA

### Examples

The output of this snippet is a [String](http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/String.html) which you can use in A Groovy expression, for example to display the comment in a Calculated Text custom field.

### References

- [issue variable](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461799437)
- [Issue interface](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/78055970)
- [Comment interface](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461570779)
- [**Groovy Documentation**](http://groovy.codehaus.org/User+Guide)

### Related articles

> Macro (contentbylabel)

> Macro (details)
> 
> | **Related issues** |  |
> | --- | --- |