Hi Team,
Is it possible to define a default value for the Resolution on workflow transition screens? We don't need automatic resolution through workflow post function. It should display the value on workflow transition screen. 'Resolved' would be the default, not "none" , and only for specific project workflow, not global.
We have script runner, JMWE, JSU addons.
Hi @Lakshmi CH
You can create a Scriptrunner Behaviour to do that, but having it as default may lead to people selecting the default value and not the appropriate one base on the context of the issue, so you will not be able to tell that 'Resolved' is actually resolved.
It may be something like that in a script in a behaviour initializer.
import
static
com.atlassian.jira.issue.IssueFieldConstants.RESOLUTION
if
(getActionName() ==
"<TRansition NAme>"
) {
getFieldById(RESOLUTION).setFormValue("Resolved"
)
}
Regards
Hi @Lakshmi CH -- it looks like this can be done with ScriptRunner Behaviors on Jira Server/Data Center, per @Manish V's answer here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Darryl Lee .
It worked using behaviors.
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.