- changed version to 2.1.35
Conditionally parse text?
Am I correct by what I've read that I can't conditionally parse text?
ie.
Department Field is a select list w/ values Accounting, Facilities, etc.
if Accounting, copy bob.jones + me.stevo + lemon.heads to multi-user picker?
ie (pardon the awful syntax)
%{13500} is "Accounting" ("bob.jones + me.stevo + lemon.heads")
Or is some form of this only available to the validation piece?
Amazing plugin. Thanks.
Comments (5)
-
reporter -
repo owner Hi,
Yes you can do it using "Copy a parsed text to a field" and also using "Set field as a function of other fields".
I explain you how to do it with each of these features:
1) Using "Copy a parsed text to a field":
Text to be parsed used is:
%{13500} = "Accounting" ? "+ bob.jones, me.stevo, lemon.heads" : %{11901}
Note that:
- %{13500} is field code for "Department" custom field in my particular JIRA instance.
- %{11901} is field code for "My Multi-User Picker" custom field in my particular JIRA instance.
2) Using "Set field as a function of other fields":
Setting rule used is:
(Accounting)+ bob.jones, me.stevo, lemon.heads
-
reporter You are a wizard. Tested successfully, w/ additional lines of conditionals (in the second example).
Thanks so much, love this plugin.
Another nice use case this plugin solved for us also btw was taking 20 fields, writing them all nicely into a single 'recap' field and then allowing us to have a daily subscription of that data go out in a coherent manner. This same project also rewrites the subject on creation into an amalgamation of 6 fields :). Now the 3-5 issues/day that fall under this subscription can be easily read by their recipients.
I have a parsed text post function addiction.
-
repo owner Thank you so much for your words.
-
reporter - changed status to resolved
- Log in to comment