Configuring my fields

Issue #377 resolved
Fadoua Boualem created an issue

Good afternoon, I have been trying to figure out the following myself without any luck. It took me sometime today that's why I am giving up
I am trying to use: Set a field as a function of other fields Function for this transition. My first field is called Study and I want based on a specific study have the ticket assigned automatically to a role(I could see through the documentation that we can not assign it directly to a name) The following is what I have in my Setting Rules: (Study 107 (Heart Failure))Recollection Lead Can anyone guide me please as the following documentation is a bit confusing https://bitbucket.org/fcarmario/jira-workflow-toolbox/wiki/post-functions/Set%20a%20field%20as%20a%20function%20of%20other%20fields?_ga=1.72258963.1814421199.1468931552 Thank you so much! Fadoua

Comments (4)

  1. Fidel Castro Armario repo owner

    The problem is that the value for field Study contains characters '(' and ')', which have special meaning for regular expressions. The simplest solution is to add prefix 'L' for doing the checking as a literal value instead of as a regular expression.

    You should use the following setting rule:

    L(Study 107 (Heart Failure))Recollection Lead
    

    I'm assuming that 'Study 107 (Heart Failure)' is a possible value for field Study, and Recollection Lead is a project role.

    You can use a user name (not user's full name) instead of a project role.

    You should previously set the default user for project role Recollection Lead. You can find the 2 possible ways to do it at: Assign to Project Role.

  2. Fadoua Boualem reporter

    Thank you so much Fidel! It worked, however i had to use the username not the project role(you were right)

  3. Log in to comment