Hi all
I'm trying to add issue security based on customer names being loosely associated with user groups
In our workflow, we enter a serial number which is then looked up in an external database and the associated customer name and site name are stored in nFeed custom fields
We want to use these fields for security levels, but they don't show up under Group Custom Field Value
Would the plugin have to be updated, or how do I find out which types of custom field are allowed to be used for this purpose?
Community moderators have prevented the ability to post new answers.
Jamie's Script Runner and use a scripted workflow post function.
Hi guys
Both problems have the same issue - we want to use some external metadata to store the group name - in many cases the customer themselves aren't logging the issue, or aren't participating in the issue report
In quite a few cases, what we have is a spreadsheet of issues and serial numbers emailled through, so we look up the customer name automatically from the serial number, so we want to use the same kind of idea to store the customer's group name. I'll see if I can use behaviours, but I'd rather use scripted workflow post functions as suggested
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you need to look up an alternative data source, then you need to have some code for the same.
You may also store your serial number vs customer information in a table in the JIRA database and use the below plugin for selecting the serial number during issue creation.
https://marketplace.atlassian.com/plugins/com.keplerrominfo.jira.plugins.databasecf
This will help you to maintian the data just in one place, rather than in one in JIRA select list and one in external data source.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've managed to get it working as a post-function - which is possibly less than ideal, as there are various points in our workflow where this may be applicable. I might try to change it to a listener to check for updates to the serial number field and update the CC group field as appropriate.
Cheers for the ideas - now just need to make it work ;)
Any thoughts on post-functions - from the community's perspective is it a better way to go than to write an event listener?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you manage to change it to a listener? I am looking to write a similar script as a listener as a post-function is not ideal for us eaither.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Scott,
Maybe you can write a listener or a post-function that reads the custom field value, check which group the customer belongs to and set the issue security level accordingly?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.