Setting assigne based on Epic Name using "Set a field as a function of other fields" post-function

Peter Bengov Community Champion Nov 14, 2015

I'm using the JIRA Workflow Toolbox to set the assingee using a post function all the time. 

I'm trying to do this now based on the Epic Name, but for some reason it doesn't work.

For example:

  • I have an Epic with the name *LALA land*
  • The Field to be checked for matching with type 1 setting rules is set to Epic Name
  • The Target field to be set is set to Assingee.

  • The rule is (LALA land,Other Epic,Yet Another epic)admin

Noting happens after the transition is complete.

I'm quite sure this is Epic-related since in the same transition I have the same post function working based on a custom field. 

JIRA version: 6.3.12



2 answers

Hi Peter,

The problem is that you should use '|' instead of ',' for separating epic names, since you should use regular expressions syntax. Any of the following configurations will work:


Captura de pantalla 2015-11-15 a las 22.02.53.png

Setting rule:

(LALA land|Other Epic|Yet Another epic)newton



Captura de pantalla 2015-11-15 a las 22.03.21.png

Setting rules:

(LALA land)admin
(Other Epic)admin
(Yet Another epic)admin


Fidel C. Armario

Peter Bengov Community Champion Nov 16, 2015

Weird, but it doesn't work with the pipes are well. Is there a way to add log messages when the post-function runs? BTW - how can I set the assignee to "unassigned"? Thanks

Hi Peter,

You should write the names of the epics exactly as they are, respecting character cases.

Can you please attach a screenshot with the exact configuration you are using? I would like to see the actual names of your epics. Perhaps, they have reserved characters for regular expressions.

You can use the following rules to avoid conflict with reserved characters using prefix 'l' (for literal), and also to make them case ignorant with prefix 'i' (for ignore case):

il(LALA land)admin
il(Other Epic)admin
il(Yet Another epic)admin

In order to unassign the issue, simple any of the following values: 'unassigned' or 'null'. An example of setting rule for unassigning the issue would be:

il(Epic A)unassigned


BTW, character '|' is used in regular expressions syntax to separate alternative capturing group. It doesn't have nothing of weird smile.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,187 views 5 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you