Created a custom "text" field so I can sort in a Jira filter
When adding that custom field to the Advanced Plan, I cannot sort via the field
Shouldn't this work?
I see other custom fields that are allowed to be used in Sorting.
Thanks
Hi Pawel,
I don't think you would want to use a behaviour in this scenario. Adding a watcher to an issue doesn't seem like something that needs to be done instantaneously based on what's currently on the Edit form, which is what behaviours are good at. Further, behaviours won't work at all if someone inline edits the field from the View screen.
I think you setting up a Script Listener is what you will want. Listeners are good for what you're trying to accomplish because they don't need to look at the workflow status. For example, you can set up a listener that listens for the Issue Created and Issue Updated events. Whenever someone edits or creates an issue and changes the field value to "Yes", the listener will get triggered. The script you have above would then run to add the user as a watcher.
Does that make sense?
Regards,
Josh
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.