Hi,
I have a requirement where an operation should be added in which certain field has to be updated.
I am thinking of adding new custom operation and assosciate screen with it. Is it possible ?
You could, with a web-item plugin.
Or you could simply add a transition to your workflow, one that goes through a screen with your new field on it (and has a validator on it to say "that field must be filled in"). No code needed.
Thanks Nic.
I thought about that workflow option, but users dont need workflow to be disturbed. also the status should not be changed and also they need separate email template to be fired for that operation.
With the workflow trick
1. You can have a transition go back to the same status. No change of status needed
2. You can use a different event for a transition, which can fire a different email template
If you don't do it in workflow, then you'll need to code a plugin to provide a new web-action, draw up a (probably fixed) screen for it and handling fields. Thinking about security on who can do it and when, examining if it's relevant in each and every status. You'll need to code for generating and sending emails outside the notification system.
If you do it in the workflow, all of that can be handled internally and automatically (with the one caveat that if you need customised emails to go out, you might have to make a couple of minor tweaks to add a new template)
oh yes.i can fire email in Post workflow event.
there is another problem though. i need this operation throughout the life cycle of issue operation. from creation to closing stage. between creation and closing there are many workflow states.in addtion there are tow issuetypes which involves this operation.
my plan was to create new custom screenable issue operation and then use edit code to do the operation and just change the screen associated with it.
which one would be better ?
Thanks Nic. Yes our workflows are complex and changes are expected to these workflows. Yes you are right, i need to take care of permissions, firing seperate events and security. Thanks for your advise.
It looks like you're new here. Sign in or register to get started.