i have the 4 subtasks among that one subtask in close transition i want to hide the field .
Can anyone help me in this . How can i achieve this
i have achieved this using the behavior . and its working fine .
import com.onresolve.jira.groovy.user.FormField
String summaryId = "summary"
FormField summaryF = getFieldById(summaryId)
FormField selectCompeletedItemsF = getFieldById("customfield_14315")
FormField actionitem = getFieldById("customfield_14003")
if(actionName == "Close") //checking for the close transition
{
if(summaryF.value != "RBA Task for your group")
{
summaryF.setHidden(true)
actionitem.setHidden(true)
selectCompeletedItemsF.setFormValue(actionitem.value)
selectCompeletedItemsF.setReadOnly(true)
}
else{
summaryF.setHidden(true)
actionitem.setHidden(true)
selectCompeletedItemsF.setHidden(true)
}
}
Hi @kiranmai genkolla - It is not possible to hide a field for certain issues on a project and not other issues. It is either available for all issues or none.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Get started with Jira Service Management
These short, self-paced courses will help you get up and running in Jira Service Management in just 90 minutes.
Learning Path
Adopt ITSM practices with Jira Service Management
Use this path to build your IT Service Management knowledge and earn an Atlassian certification.
Setting Up ITSM Projects in Jira Service Management
This training series helps you get started in Jira Service Management quickly with the new ITSM project template.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.