I cannot find an example from JMWE that is close to what I want to do. (I am not a programmer so I do a lot by example and error.)
I have bugs and features in one project and when someone hits a step in the workflow they have to decide if they want to copy the bug or feature to a different project. I want to use create issue once to clone the issue. The bug should be created/cloned as a bug and the feature should be created/cloned as a feature. The issue types are the same across the projects.
What would be the right syntax to detect a bug issue type and assign the new issue the bug issue type?