Hi,
I am using script runner 5.6.2
workflow i am using has ALL to ALL transitions
a. IssueService.TransitionValidationResult
b. validate transition - IssueService.validateTransition(ApplicationUser, Long, int, com.atlassian.jira.issue.IssueInputParameters)
many thanks !
Ramonde
Hi Ramonde,
As Bobby mentioned in your support ticket, the only way you can prevent a transition is if there is a screen for that transition. If there is a screen you can use the 'setError' message on this screen to prevent the transition if the users is not an admin.
You can use the setError function to prevent a user from submitting the form, preventing the transition. However, on review this would still require you to create a transition screen for every status to appear if you are transitioning from done. Therefore, the most efficient way to do this is to use the scripted condition I am afraid, there is no way around doing that without modifying your workflow.
Regards,
Katy
Adaptavist Product Support
Hello Katy,
i am familiar with these solutions, as i wrote "i dont want ...... through all Workflow in validator or in conditions" or to use screen error, since it forces screen to be opened no matter what
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.