Hi,
I recently created a new workflow scheme to be used on a couple of specific projects, with two new workflows - one for all unassigned issue types, and one only for Bugs.
The only difference between the two workflows is that the one for Bugs has a validator set on the resolved issue transition that makes it require a custom field I've added to the resolve screen - other than that it is literally a copy.
This custom field's context is set to be for Bugs only, and for the four projects this workflow scheme applies to only.
The problem we're encountering now is that any Bug within these projects cannot have its issue type be changed - on the edit screen it displays the message "There are no issue types with compatible field configurations and/or workflow associations" under the field.
Other issue types in these projects CAN be changed - but only to every issue type other than Bugs, and the message "Some issue types are unavailable due to incompatible field configuration and/or workflow associations." is displayed below the field.
Being able to change issue types is an important and frequent use case for us so I'd like to figure out the cause of this ASAP - I'm aware of the fix of using Move Issue instead but would rather not have to tell everyone this is now required.
Thanks a lot in advance,
Ethan
Hi Ethan:
You had mention that all unassigned issue types have one workflow, but the Bug issue type has another workflow.
This is the problem, you can't move from one workflow to another, the reason is the workflow difference.
You can use the same workflow for all issue type. However, you can work the validator with Groovy Script Runner. Then you can work the following groovy validator:
import com.atlassian.jira.ComponentManager componentManager = ComponentManager.getInstance() customFieldManager = componentManager.getCustomFieldManager() passesCondition = false; if (issue.getIssueTypeObject().getName() == 'Bug' && issue.getCustomFieldValue(customFieldManager.getCustomFieldObjectByName('my_custom_field')) != null) { passesCondition = true }
I am just trying JIRA out and I stumbled over the same problem.
Actually I thought of the same cause and here I found the confirmation.
But I don't understand why switching to an issue type of a different workflow should not be possible. Of course, JIRA need to know what new status to assign to this issue. But it's the same when you manually switch the workflow scheme. Then you also have to do this definition.
I would like to have settings for each issue type when switching to another issue type.
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.