I am creating a new workflow where I have a transition that "change issue type to bug or new feature"
I would like to create two transitions one for each option and then when the screen is shown show the preassigned value for the Issue Type = BUG or issue Type = New Feature
Is it possible to assign a default value for ISSUE TYPE on a new screen
You can, but only in limited circumtances.
First, you have to understand that Jira will not allow you to "edit" the issue type unless the two types are configured in a way that means the edit process is simple. For example, if they use different workflows, it won't let you do a simple edit, you have to use "move" so that it can go through the integrity checks required. (I don't think it does this with fields, but I can't be sure)
Assuming you can pass that test, then I would simply add javascript to the issue transition screens. You'd need two screens that look the same, but have differnt javascript in the descriptions of the last fields on screens. So if a user runs "go to bug", the javascript will set "bug" in the type field, and similarly for "feature"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.