I am attempting to configure field validation for Time Spent, resolution and testing steps but I haven't had any success. If I use the "Fields Required" validator for any of these fields, it will indicate and error whether or not time is logged for Time Spent or text is present in the Resolution or Test Steps field.
When the issue is in "In Progress" and before it can be moved to done, I need to verify the following:
I would prefer not to make these fields "required" since I only need the data available for this specific transition.
I googled the topic and there were some suggestions around ScriptRunner but I don't believe it is available for the Cloud instance and I would not like to add additional cost to Jira.
Any help would be greatly appreciated.
I think you are on the right track with the "Field is required Validator"
If you implement this validator on the transition that moves the issue from In Progress to Done then and only in this case the required values will be validated.
This is in Misc Workflow Extensions. https://innovalog.atlassian.net/wiki/display/JMWE/Validators
This will be replicated in JIRA Core at the end of July natively. https://confluence.atlassian.com/jirakb/jira-miscellaneous-workflow-extensions-jmwe-removal-from-jira-cloud-815262011.html
Yes, I have been using the "Field is required Validator" as suggested by Peter. However, it doesn't seem to be working as I expected. As a test, I added "Resolution" to a "Field is required Validator" for the transition from "In Progress" to "Done". When I create a test issue and do not enter any value into "Resolution", an error message will pop up. I then edit the issue and add text to the "Resolution" field and update the issue. When I attempt to transition again, I continue to receive the error message pop-up.
As Steven indicated, I do believe the "Field is required Validator" comes from Misc Workflow Extensions which is installed on my instance.
If anyone else has any comments or suggestions, I would be grateful.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs