In the cloud version of JIRA (no server, no scripts), is there any way to set a condition on a post function?
As an example, let's say someone transitions a ticket to a review/QA status. In most cases, I may want to assign the ticket to a QA lead, send an email notification, or kick it back to the unassigned bucket to be picked up by someone else. However, there are also several recurring cases in which I do not want this to happen, or wish to invoke some other logic; for instance, tickets assigned to a specific epic may need to be reviewed by a particular person/team, or tickets with particular criteria should not trigger email notifications.
Thank you in advance for your time!
I'm afraid there's no way to do this with post-functions.
The closest you can get is to pre-load the question. Use two transitions that do the same thing, but have different conditions on them.
Thanks for the answer, Nic!
I wound up going another way and subscribed to the JMWE cloud add-on to obtain conditional post-functions. It's a shame this isn't native to JIRA, but ultimately an add-on seems more sustainable than duplicated workflow transitions (at least for this project).
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.