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.

1
3 comments
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. 

 
 

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

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

0

Please sign in to leave a comment.