- edited description
- changed version to 2.1.22
Update parameters of the Set a field as a function of other fields Function for this transition.
Hi, \Update parameters of the Set a field as a function of other fields Function for this transition.is not working for the following select list values.
Settings Rule:
1.(Maintenance / Bug Fixes)Deliver the Service 2.(Procure-to-Pay)Supplier Collaboration 3.(PM-Driven Improvements)Incremental Improvements
Comments (27)
-
reporter -
repo owner Hi Suresh,
Can you please attach a screenshot with the configuration of the post-function?
Thanks
-
reporter -
reporter please let me know if you need more information.
-
repo owner Can you please attach a screenshot of the whole post-function tab of the transition?
Which type of custom fields are Driver Category, Driver, Product Suite and Product Line?
-
reporter All fields are select list type.
-
repo owner Please, try moving post-function "Creates the issue originally" to first position in execution order.
-
reporter I moved it,But not working.
The problem we are facing with / ,- ,&,( ,.....symbols in the string ,mapping rules.
The string which is not contains special symbols we are not facing issues. It is working fine as excepted.
-
reporter can you help us to resolve this issues. We have client demo tomorrow.
thanks for your help.
-
repo owner Characters / , - and & , shouldn't cause any problem, since they don't have any special meaning in regular expressions. Indeed I have tried to reproduce your problem with these characters, and it works correctly in my JIRA instance.
On the other hand, characters ( and ), as other ones (like \, [, ], etc) are reserved, and must be escaped using character \.
Anyway, I suggest you to try escaping all the characters you are experiencing problems with, i.e., rewrite your setting rules as follow:
(Maintenance \/ Bug Fixes)Deliver the Service
(Procure\-to\-Pay)Supplier Collaboration
(PM\-Driven Improvements)Incremental Improvements
-
reporter Hi Fidel, I have changed the same(escaping all the characters ) but not getting in result after create postfunction. we are 6.3.8 Jira version. I am confusing here.
-
repo owner I don't know the cause of the problem, but as a workaround, replace the conflicting characters with character '.', which represents any character (in regular expressions), i.e, rewrite your rules as follow:
(Maintenance . Bug Fixes)Deliver the Service
(Procure.to.Pay)Supplier Collaboration
(PM.Driven Improvements)Incremental Improvements
-
reporter Made changes.This time also no results.
-
repo owner Let's try a last resource workaround. Try rewriting your conflicting rules as follows:
[%{nnnnn} = "Maintenance / Bug Fixes"]Deliver the Service
[%{nnnnn} = "Procure-to-Pay"]Supplier Collaboration
[%{nnnnn} = "PM-Driven Improvements"]Incremental Improvements
with %{nnnnn] being the field code of custom fields Product Line or Driver depending on the particular setting rule.
I advice you to update to version 2.1.25 of JIRA Workflow Toolbox, since that version provides support for UNICODE string literals, and I think that your problem may be caused by a bug related with your particular system encoding.
-
reporter I have done above two options, but no use :(
-
repo owner Please, tell me the following information of your configuration system configuration (Administration > System > System Info):
- System Encoding
- webwork.i18n.encoding
- file.encoding.pkg
- sun.io.unicode.encoding
- sun.jnu.encoding
-
repo owner Please, try the following setting rules:
(Maintenance .* Bug Fixes)Deliver the Service
(Procure.*to.*Pay)Supplier Collaboration
(PM.*Driven Improvements)Incremental Improvements
-
reporter System Encoding :Cp1252 webwork.i18n.encoding:UTF-8 file.encoding.pkg :sun.io sun.io.unicode.encoding:UnicodeLittle sun.jnu.encoding :Cp1252
-
repo owner How did it work my last setting rules suggestion?
-
reporter not worked that as well :(
-
repo owner I have set up a Windows virtual machine with system encoding Cp1252, and also it's working correctly for me. I can't manage to reproduce your problem.
Please, try the following setting rules:
(^Maintenance.*)Deliver the Service
(^Procure.*)Supplier Collaboration
(^PM.*)Incremental Improvements
-
reporter I have tried by removing of /,( ,- from select list valuescan we share screen and meeting?
-
reporter can it cause with the select list options?even after removing of -,(,/ from the select list option it is not working.
-
repo owner It should work correctly with any Select List custom field.
Perhaps, you created the options using copy+paste from a document, and there is some strange character inserted in the string.
Can you please, edit the option to something like "A" and save, and then edit the option again and typewrite by hand the correct name again?
You may also execute the Integrity Checker available at JIRA Administration.
-
reporter making the chages .will let you know the results
-
repo owner Suresh, do you have any news about your issue?
-
repo owner - changed status to closed
Suresh, I close the issue after 20 days without any update. Please, reopen it if you keep needing support.
- Log in to comment