I want to validate on Workflow validations that this Fields has a value, this is a jira field, so I cannot refer to it as a custom field.
You can using Script Runner to complete it.
Using 'Behaviour'.
Hey Daniel,
Any of the add-ons below should allow you to add a post-function that validates if fields (both system and custom) have a value.
User ScriptRunner for JIRA to add a custom script validator. The script looks for all Linked Issues. If there are no linked issues, validation fails. If linked issues are found, it looks for status and performs the validation required to check for particular status values.
This question has been answered here. https://community.atlassian.com/t5/JIRA-questions/Validator-script-to-check-status-of-all-linked-issues-before/qaq-p/427966
ScriptRunner add-on link: https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner/server/overview
Thank you
Bhushan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
None of those Plugins validate that particular field, also I want to make it required only when resolution is 'Duplicate'. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Daniel. I have updated my response based on your requirement of having a specific resolution or status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response, but I'm looking for something that checks the value on real time, I mean in a Transition screen, that script you mentioned checks the linked issues when they already exists on the Issue, I just need to check that the 'Issue linked' field has a value on the screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.