Hi,
I wan't to create a custom field in Jira cloud add-on. So, I referred to this documentation and made my code as below,
AP.require(['request'], function (request) {
request({
url: "https://radiantq.atlassian.net/rest/api/2/field",
method: 'POST',
contentType: 'application/json',
data: '{"name": "New custom field","description": "Custom field for picking groups","type": "com.atlassian.jira.plugin.system.customfieldtypes:grouppicker","searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher","update":{}}',
success: function (response) {
debugger;
},
error: function () {
debugger;
alert("fail");
}
});
});
have added ADMIN to app scopes also. But still, could not find exact way to create custom filed. Is there any other process to be done?
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.