I've been using behaviours on cloud, and I'd like to display a message on a particular issue, when it reaches a particular status.
But.... I'm struggling with the issue status. I've got it via trial and error on the API (see below)... but surely I can get it off context? But I'm just not sure of the syntax?
-----------------
I tried this:
Hi Andy,
The context provided by Atlassian when a behaviour is very limited.
This means the way to get the status is to get the issue object using the key out of the context and to return the status out of this.
You could do this using the example code I have provided in the snippet file located here.
I hope this answer helps.
Regards,
Kristian
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.