I want to clear a field value on the transition screen , make it editable for the user to fill it and make it required.
When user is moving from "Ready to test" to "rework", I want to clear the "Assignee" field on the transition screen, make it editable for the user and required to fill a value.
We have ScriptRunner and PowerScripts pluggins
Hi Arunajyothi,
I can confirm that, unfortunately, you cannot achieve this requirement with the Behaviours feature provided by ScriptRunner for Jira Cloud as it does not yet support transition screens.
However, as a workaround, you can use the Workflow Validators feature that ScriptRunner for Jira Cloud provides to make the assignee field required on the transition screen.
Workflow validators use the Jira Expression framework provided by Atlassian, and I can confirm we have some examples here to show their syntax.
It is not possible to clear it first but you can check if it is changed to a different value and give a custom error message if it is not by adding a message in the in the Validation failed message box.
I hope this information helps.
Regards,
Kristian
You can use behaviours from ScriptRunner.
Try this
getFieldById("Assignee").setFormValue(null)
getFieldById("Assignee").setRequired(true)
Hope this will be helpful.
For more information on Behaviours
https://docs.adaptavist.com/sr4jc/latest/features/behaviours
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uday,
Unfortunately, Behaviours currently does not yet support Transition Screens in Jira Cloud but support will be coming for these later this year.
Regards,
Kristian
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.