I want to show a specific Transition based on the data in two additional felids.
This process is for the bug life cycle . The transition should display 'Retest hot fix' if these two (Environment= QA2 and Test Phase = Hot fix )are present in the custom felids on the screen (populated from previous transition ) or if they are selected using the single select option on the fix defect status screen
Environment: QA2
Test Phase : Hot fix
How do I use script runner to incorporate this feature on the screen? Simple scripted condition on the work flow using script runner
A simple scripted condition should work for you:
cfValues['Environment'].value == 'QA2' && cfValues['Test Phase'].value == 'Hot Fix'
Regardless of the manner in which those fields might get updated, if the correct value is in place, the transition button will appear. Otherwise, there will be no button.
I am unable to see the transition Ready to build transition on the screen despite adding scripted condition on the Ready to build hot fix transition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Don't forget to add ".value" after cfValues['field name'] when the field is a single select.
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.