Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Scott Federman
Contributor
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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
Contributor
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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
Contributor
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
TAGS
AUG Leaders

Atlassian Community Events