Forums

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

Field is still required after removing validator and making sure its not required in field config

Shelton Adams July 25, 2024

I am drawing a blank on what to do. My company wanted me to connect our Project Numbers to our SQL database and get rid of the old Project Number field which was just a single choice list with every project number known to man. I have successfully connected the new field and upon removing the old one I have ran into some problems. 

 

Transition validators.

There are validations set in place and I have simply removed the project number field from it on every project that is requiring it during this specific transition. I have made sure to not only update but publish this change. Upon refreshing and re-indexing the issue is still present. I will share a picture. Note: The second Project Number field is the correct SQL field. The first one is the culprit and I have added it back in the meantime so we can still process our tasks like normal. If I enter a project number into the first field it will work as normal. Neither of these fields are required in the field configurations nor on the validation screen. I am sharing more pics below for context. 

Jira screenshot.png

 

This is the only screen that is asking that the project number field be required.

Screenshot 2024-07-25 133145.png

 

Here is the validator (Project Field is removed as it should be). Our maintenance has expired could that be an issue? I do have Data Center set up, but we have not given everyone the ok yet as we are still waiting for IT to finish up some server related things in the background. 

Screenshot 2024-07-25 133316.png

 

Just so I am doing my due diligence, here is the field config we share with all of our projects. None of these fields are required at all. 

Screenshot 2024-07-25 133659.png

 

I hope I am just overlooking something. I would appreciate any help and hopefully I did not miss the solution to this. I apologize if so. 

2 answers

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Champion
July 25, 2024

Hi @Shelton Adams,

Welcome to Atlassian Community!

What platform are you on, Cloud or Data Center/Server? I know on DC when making changes to an existing workflow it may not be fully published and could then lead to situations like this. In order to solve it you can make a copy of the existing workflow and then go to the workflow scheme and replace the existing workflow with the copied one. 

Shelton Adams July 25, 2024

I am on a local Server, currently we are in the middle of migrating to Data Center. I will try this and see if it solves my problem. I will report back shortly.

 

 

Like Mikael Sandberg likes this
Shelton Adams July 25, 2024

I copied the workflow and replaced the old one with the copy, and that did not work. However, while looking at my validation I realized that the old admin had a custom script running underneath the above validation checks. I disabled that and it worked fine. I am able to make the fields required that I need and remove the old field. I will work on updating the script and replace it, but with these validations it should not cause any issues. 

Note: the scripts that were in place are outdated now due to version updates. I am about a year into this role and I am uncovering new things I feel like every day, lol. Thank you all for the help. 

Like Mikael Sandberg likes this
0 votes
Nicolas Grossi
Banned
July 25, 2024

@Shelton Adams Welcome you might check the field configuration scheme and field configuration asociated.

 

HTH

Suggest an answer

Log in or Sign up to answer