Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def camsconfluence = getFieldById("customfield_29809")
- def camsjira = getFieldById("customfield_29803")
- def spacename = getFieldById("customfield_29813")
- def projectname = getFieldById("customfield_29804")
- def description = getFieldByName("Description")
- def projectlink = getFieldById("customfield_29812")
- def projectkey = getFieldById("customfield_29805")
- def cfname = getFieldById("customfield_29814")
- def projecttype = getFieldById("customfield_29806")
- String cfval = camsconfluence.getValue() as String
- if (cfval == ("Create New Space")){
- spacename.setHidden(false)
- spacename.setRequired(true)
- description.setHidden(false)
- description.setRequired(false)
- projectlink.setHidden(true)
- projectlink.setRequired(false)
- projectlink.setFormValue(null)
- projectkey.setHidden(true)
- projectkey.setRequired(false)
- projectkey.setFormValue(null)
- cfname.setHidden(true)
- cfname.setRequired(false)
- projecttype.setHidden(true)
- projecttype.setRequired(false)
- projecttype.setFormValue(null)
- camsjira.setFormValue(null)
- projectname.setFormValue(null)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement