Hi,
we have a project where we use the Issue Types Bug, Feature and Task. We have a common workflow for all those Issue Types but have the requirement that we need to have one field required for Bug.
I created a new Field Configuration for Bug and assigned it - this works as expected (whenever a issue is created or edited the required field must be filled out).
However an inline Issue Type change for an Issue is not possible anymore.
E.g.: I clone a Bug issue and just change the Issue Type to Task (inline).
I know that with "Move" we could move the issue to the issue type we want but we don't want users to have access to the move functionality (currently only admins do).
Is there another I can set this up, so that changing the Issue Type is possible for the users?
Thanks in advance for your help.
Best regards,
Barbara
You can have single screen scheme for all issue types but you would need Power Scripts Live Fields or ScriptRunner behaviours to hide a custom field depending on the Issue type.
Hi Alexey,
Could you please elaborate?
Can I use Script Runner to make a field required for a specific issue type without touching the Field configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you can use scriptrunner to make a field required for an issue type. You can either use behaviours or validators.
If you use a validator, you would add a validator to the create transition. In this validator you would check issue type and if it is a Bug, you would check if the required field is set with a value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But It could be done out of the box. You should create a field scheme configuration for the Bug issue type and set there the custom field required.
https://confluence.atlassian.com/adminjiracloud/changing-a-field-configuration-844500798.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexey,
I already created a new field config for the bug type - I also added it to the field configuration scheme (for issue type bug) but since I did that, I'm unable to change the Issue Type of an Issue (Inline, with "Move" however I can change the type...).
Did I miss something?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, you did not miss anything. That is right. You can change the issue type of an issue in the Edit screen, only if all schemes for the issue types are the same. It is not in your case. Now you can only use the Move menu option to change the issue type of an issue. If you use behaviour or live fields, you do not need to create different schemes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Barbara,
Is the field that you’ve made mandatory for Bugs visible on the other issue types? The restriction here is due to the different Field Configuration that you’re using for these different Issue Types. It may allow you to change the Issue Type if a value is set in the field, even though it’s not mandatory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mitchell,
Yes the field is visible in all other issue types.
I just tried inserting a value and trying to change the type - it doesn't work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid filling fields won't help.
You have to make the configuration for the two issue types you wish to switch between identical - using the same workflows and field configurations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
I have a created a required for an Issue type story and its working fine. But below is the issue i face
Note that after the successful move the epic has the acceptance criteria and Story points..
My question is, when i dint have EPIC Issue type to have the Required filed, Why i am getting the filed here when i move the ticket.
is this normal or an issue which can fixed?
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Because moving an issue keeps fields unless they are specifically excluded from the issue type you change it to.
Only "custom field context" matters here, field configurations and screens will not destroy the data if they're not set to show a field (they can hide it, but they won't destroy it)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic,
What you mean by Only "custom field context" matters here?
Senthil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This one is hard to explain, so I'll try a worked example.
Imagine
Now, there are three rules for a field to appear
Now, you decide to move from Bug to Feature. If Features:
Does that help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First I would like to thank you for replying me, Its Honor to get an reply from you. I know how strong you are in JIRA and helpful for all the people who need help in JIRA.
So you mean to say, we should not have Dave on any screens, so when we select move from Bug Issue Type to Features Issue type, then Dave wont get displayed.
Since we don,t have that field on any screens.
I am not expert in JIRA and i know you are GURU in JIRA. Is this possible? and will it be worth on working on this, and will be useful in real time scenario?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, if Dave is not on the screens in use, then Dave will not appear!
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.