I've created a Script fragment to create a subtask, Please see below xml similar to the one mentioned here(https://community.atlassian.com/t5/Product-Apps-questions/Scriptrunner-web-fragments-for-creating-subtask-with-default/qaq-p/55927)
Error: I have 2 subtasks types, because of jira's default behavior the issue type is selected to the latest subtask issue type created.
Steps taken to solve the error: I tried using the Behaviours integration to set the issue type to default, Please see below script as mentioned in the documentation:https://scriptrunner.adaptavist.com/126.96.36.199/jira/fragments/CreateConstrainedIssue.html#_behaviours_integration
But this doesn't work. Am I missing anything or is this because of the styleClass I've used. issueaction-create-subtask
I need the subtask screen to popup when the script fragment button is clicked, with the issue type field set as read only.
Pleas advise. Thanks.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot