I have below custom field which have 3 option, when anyone select "Ready for Review", it should pop-up with few fields to fill before updating this filed.
Can you clarify the need behind this request? There could be a solution to your problem using behaviours instead of a popup as you request.
E.g.
Hope that helps!
Alex
Thanks for you quick response, i have added screes with workflow transition as when status changes there is screen pop-up with required fields.
But here i need a screen pop-up when anyone select "Ready for Review" from this field drop down single select list. so that if anyone select "Ready for Review" then few field should be verified/filled with details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Amit Kumar Singh you can't do exactly what you ask with out of the box Jira functionalities. My response stays the same, as above.
Do you have scriptrunner?
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.
Then use it to create a behavior for your field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alex Koxaras -Relational- but i have no idea as how to set up behavior and how it will work, could you please provide some more details as how to create this..?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
def fieldOne = getFieldById("customfield_15751")
def fieldTwo = getFieldById("customfield_15752")
fieldOne.setHidden(true)
fieldTwo.setHidden(true)
fieldOne.setRequired(false)
fieldTwo.setRequired(false)
if (getFieldById(getFieldChanged()).getValue() == "Value 1") {
fieldOne.setHidden(false)
fieldOne.setRequired(true)
fieldTwo.setHidden(false)
fieldTwo.setRequired(true)
}
else{
fieldOne.setHidden(true)
fieldOne.setRequired(false)
fieldOne.setFormValue(null)
fieldTwo.setHidden(true)
fieldTwo.setRequired(false)
fieldTwo.setFormValue(null)
}
Hope that helps!
Alex
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.
To do this, you would add the three fields to the same screen your drop-down field is on, and use a behaviour to show/hide them depending on the selection.
https://library.adaptavist.com/entity/control-form-field-based-on-selected-checkbox-value shows you how to do this with a checklist field rather than a drop-down, but the fields are very similar and I'm not sure you'd even need to change any of the code to cope with a select list instead of a check list.
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.