Hello,
I'm trying to make "Sprint" a required filed for a certain issue type - bug. I figured out already that in-order to make a field required for a certain issue type, the "screens" and "fields" should be aligned as so not to affect the others.
Upon checking the Sprint field on the "fields" - there was no option to make it required unlike the others, I also noticed that there is a "Locked" beside Sprint.
Is there a way we can make Sprint required even if it's locked?
Thanks!
Hi @Ikem Abellon ,
First of all, I don't think it's a good practice to make sprint a required item when creating Issue. You can find a discussion of this issue in the community in the following post.
https://community.atlassian.com/t5/Jira-Core-questions/Making-sprint-a-required-field/qaq-p/87301
Secondly, if you have to do this, you can try to add validators to the creation of the workflow.
@Ikem Abellon Hiii
If you are the administrator of Jira and can change the workflow, I suggest you make a parallel transition and in the condition choose Scripted (Groovy) Condition (JMWE add-on) and in Groovy script write "issue.get("issuetype")?.name == "Bug"". And then in validator choose field required (sprint) and make a screen in transition that shows sprint field. So this transition is just for Bug issue type (Of course in main transition you should make a condition that if the issue type is not bug) .
Another way is to make a copy of the workflow and assign it just to your Bug issue type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ollie Guan
Hi there
can you please tell me how you set that validation?
the only validation I can set is about user permission.
Thank you for your help in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.