I have a custom field, FixVersion, which is basically an optional field.
For issue type Bug I would like to have this field mandatory in a specific screen when the issue transitions to In Progress. For other issue types I would like to leave the field optional.
I have been trying and digging for some time without conclusion -- could you please give me a hint how to achieve that? Thanks in advance!
Hello,
You would need an add-on for it. For example, you could use the Power Scripts add-on:
Here is a tutorial on how to make a custom field required:
https://confluence.cprime.io/display/TR/Make+a+custom+field+required+based+on+another+custom+field
You can do the same with the Fix Versions field for a specific issue type.
Thanks everybody for looking at my question! I found that the requirement of the fix version actually does not depend on the issue type (my bad...). While the field is not required in the workflow, I used JSU to require the field (for all issue types) in the resolve screen.
Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would say first create/copy the existing field configuration and associate it with only Bug issue type for the specific project.
Create a workflow/transition screen and add the FixVersion field to this screen.
Edit the Bug issue type workflow and add the workflow screen to in progress transition.
To make the Fix Version field mandatory/required to specific transition you to use the third party plugin like Jira Suite Utilities, Script Runner.
Using this anyone plugin you can make the FixVeriosn field mandatory.
Please have a look at the below KB, hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Reinhard Mayr,
Create a different workflow all together for Bug issue type and add a transition screen when the Bug issue is transitioning to InProgress.
Add a required field in the validator to the transition screen. You may get these validators through 3rd party add-ons
OR
If you do not want to create a different workflow for Bug, you can add a conditioned validator which will verify the issue type.
Regards,
Gangavath Kishore Kumar.
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.