I have a necessity to calculate and implement additional 4-level "impact" field (or label) when creating or editing an issue, based on component and existing priority field. What would be the easiest way for achieving this?
Examples:
component = Jira AND priority = blocker, impact = 1
component = Jira AND priority = critical, impact = 1
component = Jira AND priority = Trivial, impact = 3
component = Intranet AND priority = critical, impact = 2
etc.
Thanks for a quick answer!
When selecting multiple components, the "impact" would always remain highest, taking into consideration the component with the highest impact value. That is what we actually need.
But we are also thinking of assigning a color to the impact value, in that case custom field would be easier to configure.
I have Script Listener installed, however i'm not quite good in scripting - should i start a custom script? I suppose i can't use any of the default conditions:
Send a custom email
Send an email based on the provided template if conditions are met
Clones an issue and links.
Clones this issue to another issue, optioninally in another project, and optionally a different issue type.
Create a sub-task.
Create a sub-task. Will optionally reopen a matching sub-task.
Custom listener
Write your own groovy class as a custom listener.
Fast-track transition an issue
If the condition is met, automatically transition this issue to another status
Fires an event when condition is true
Fires an event that can be picked up by a notification scheme, in order to send mail only under certain conditions, eg Priority is Blocker
Adds the current user as a watcher
Which conditions should i define?
I'd use the script runner plugin to write a listener to catch changes to the issues and generate the right labels.
However...
1. I would NOT use labels here, stick to a single-select custom field for the "impact" field.
2. You've got an incipient problem with the design - What happens when I raise an issue with components "Jira" AND "Intranet"? You might want to consider using a single select instead of components, or just work through the logic with multiple selections in mind.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for a quick answer!
When selecting multiple components, the "impact" would always remain highest, taking into consideration the component with the highest impact value. That is what we actually need.
But we are also thinking of assigning a color to the impact value, in that case custom field would be easier to configure.
I have Script Listener installed, however i'm not quite good in scripting - should i start a custom script? I suppose i can't use any of the default conditions:
Send a custom email
Send an email based on the provided template if conditions are met
Clones an issue and links.
Clones this issue to another issue, optioninally in another project, and optionally a different issue type.
Create a sub-task.
Create a sub-task. Will optionally reopen a matching sub-task.
Custom listener
Write your own groovy class as a custom listener.
Fast-track transition an issue
If the condition is met, automatically transition this issue to another status
Fires an event when condition is true
Fires an event that can be picked up by a notification scheme, in order to send mail only under certain conditions, eg Priority is Blocker
Adds the current user as a watcher
Which conditions should i define?
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.
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.