Check if Description of issue was changed.

Hello.
I trying to check if description of issue was changed:
```
guard: function (ctx) {
return (ctx.issue.fields.isChanged(ctx.issue.description) && ctx.issue.isReported);
},
```
but it does't work. I thing it because the description is a property (string) not field. Can I check if the description was changed another way?

Thanks.

3 comments
Comment actions Permalink
Official comment

Hello,

Unfortunately, it is not possible.

I can imagine only checking that none of the fields has been changed, no comments/tags have been added, etc. However, this will not allow you to distinguish summary update from description update. 

 
 
Comment actions Permalink

Not sure if this was possible at the time of this post BUT it is possible now with 2019.1

Here is how to check if the description has been changed:

ctx.issue.isChanged('description')

0
Comment actions Permalink

Thank you for the update, glad to hear it works!

0

Please sign in to leave a comment.