Has anybody accomplished adding a ScriptRunner custom field on a Jira DC Issue Collector Form?
@ScriptRunner - I'm creating basic Custom fields, I'm adding to the proper screen, and even making sure it's related to the issue type, however, the custom fields are not available on my issue collector.
@Nic Brough -Adaptavist- Any Clue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which type are you looking for? It would not make sense for Scripted fields for example - they can't have content until after you've created an issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Guz
We use the HTML macro to display issue collector triggers and forms via Confluence pages. Are you doing the same?
If so - you can access the custom filed by its id and add it to the form using some pretty simple JavaScript. Example:
// === custom trigger function ===
triggerFunction : function(showCollectorDialog) {
$('#YOUR BUTTON').click(function(e) {
e.preventDefault();
showCollectorDialog();
});
},
fieldValues: {
description: ' \n\n',
customfield_15000: 'Please list any constraints, if applicable: '\n,
customfield_15602: 'Please describe: \n\n',
customfield_15605: 'Please describe: \n\n',
}
}
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As @Nic Brough -Adaptavist- said, it wont work for scripted fields but might work for other types of SR fields.
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.