Hello,
I would like to create a rest end point in scriptrunner. This should accept Jira issue fields and its subtask fields as well.
I've seen the below examples, but they only talk about creating issues. Is it possible to create subtasks using the script rest end points? Please advice.
https://community.atlassian.com/t5/Jira-questions/Scriptrunner-rest-end-point-create-issue/qaq-p/670374
https://community.atlassian.com/t5/Jira-questions/How-to-create-issues-in-jira-programmatically-inside-a-listener/qaq-p/352020
Can you please provide a sample code to create issue and its subsequent subtasks.
Thanks.
Kindly read the following thread
You will find out how to pass parameters to a rest point and how to work with them.
Then read the following thread
https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-auto-create-multiple-subtasks-in-JIRA-by-groovy/qaq-p/559686
You will find out how to create subtask.
Then merge your knowledge.
Thanks for the input Alexey, I'm constructing the rest end point.
It looks like you're new here. Sign in or register to get started.