looking for a solution in Datacenter to automate the creation of Request Types and adding filed to the form.
Hello @Krishnanand Nayak
You can use automation to create requests and submit forms using APIs.
Here are the relevant resources:
/rest/proforma/1/issue/{issueKey}/form/{formId}/submit
Let me know if you need further clarification!
Best regards,
Ziad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To answer your question, it is possible to make a POST request to update the fields on a screen.
Something like:-
post("https://localhost:8080/rest/api/2/screens/addToDefault/10001")
You can refer to the REST API for Jira DC for all the options avaiable.
I would suggest using the ScriptRunner Console along with the REST Endpoint, to include the fields.
Let me know if you need any help and I can try to provide an example code.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks @Ram Kumar Aravindakshan _Adaptavist_ . the ultimate idea is to us SR but was stuck due to the finding the correct Rest call. Let me try your solution.
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.