This is a follow-up to this Solved thread: https://community.atlassian.com/t5/Jira-Service-Management/How-to-change-the-status-of-a-Jira-ticket-from-OPEN-to-Under/qaq-p/1514306
Which com.atlassian.jira class contains the constant declarations for Status values and Transition values?
To clarify, I want to avoid declaring local variables like this:
Welcome to the Atlassian Community!
The short answer is that "you don't".
Workflows are variable. As soon as anyone edits a workflow (and one of Jira's greatest powers is that you can), you have a change that you can't guess reliably that has moved away from the defaults.
There are no things like "RESOLVE_TRANSITION" or "RESOLVE_TRANSITION_ID", and even if they were, I can absolutely guarantee you that you have different values for them in your system, let alone looking wider.
There are no constants for status or transitions.
It looks like you're new here. Sign in or register to get started.