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.
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.
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.
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?
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.
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.
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.
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)
This one is hard to explain, so I'll try a worked example.
Now, there are three rules for a field to appear
Now, you decide to move from Bug to Feature. If Features:
Does that help?
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?
Learn how to use two new reports for next-gen projects in Jira Cloud: Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events