So, I'm somewhat new to ScriptRunner. I'm liking it though. Especially the behaviours section. I'm currently trying to write an initializer that would hide/show certain fields on the issue edit screen based on the current status in the workflow. It it possible to get the current status of an issue in a behaviour? Thanks.
Ok. I figured it out!!
underlyingIssue.getStatus().name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Davin,
It worked for me as well. where did you find
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, @Davin Studer. This seems to pertain to the Data Center / On-prem platform.
Do you or anyone else have any idea how to get the status on the Jira Cloud platform?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.