Hi guys,
There are 190+ components in projec. I want only "Hardware" and "HWQ" show and hide others but it not work.
import com.atlassian.jira.component.ComponentAccessorimport static com.atlassian.jira.issue.IssueFieldConstants.*def Component = getFieldById("Component/s");def CompValue = Component.getFormValue();def allowedComponents = ["Software", "HWQ", "HW"]Component.setFormValue(allowedComponents)
It looks like you're new here. Sign in or register to get started.