I've list of custom fields which is required field to be displayed ONLY during a particular transition. However, error message popping when I create a new issue in JIRA asking for custom filed.
(Example : Whenever I create a new issue, I get an error "Dev efforts" to be filled since "Dev efforts" is a mandatory field).
After this error I make "Dev efforts" as optional and I tried to create issue. But again, different error "Dev ETA" is required.
So, I keep all required custom field as optional and continue to work.
How to rectify and solve?
From your issue description, I see that you are marking the custom fields as mandatory/optional in the field configuration of your project, which is causing this problem.
To suit your need of making the custom field mandatory only in specific transitions and not during creation, please don't mark them as mandatory in field configuration. Instead, add in workflow validations to check if they are "not empty/mark required" in the respective transitions. This way, you can mark them as required wherever needed and avoid the errors during issue creation.
Hope this helps!
I made the two fields "Dev ETA" & "Dev Efforts" as optional field.
Then I selected below option n on condition for transition "A" TO "B"
Then made condition "is required"
Transition happening from "A" to "B" even if the fields are empty.
I'm reachable at +91 9941332829 if we can able to discuss over phone.