Why am I getting the error "Component/s is Required" When the component field is not set to required?

Scott Federman February 25, 2014

Why am I getting the error "Component/s is Required" When the component field is not set to required?

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2014
Either it is set to required (check the field configuration) or you have a validator that says it is required on the workflow
Sukai Qin November 21, 2016

Hi Nic,

How do I make component required on a workflow? I tried the below and it didn't work.

cfValues['Component/s'] != null

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 21, 2016

Components is not a custom field (unless you've added one by that name), so that call won't work.  I tend to use the JIRA Suite utilities "field required" validator and can't remember the syntax for scripting it.

0 votes
Scott Federman February 25, 2014

Yes Sir! Not sure why i didn't see that. This is why you are the expert:)

Suggest an answer

Log in or Sign up to answer