Doesn't work post-function "Set a field as a function of other fields"
Hello!
I use a post-function "Set a field as a function of other fields" and from september this function doesn't work. I think that it's after updating. U don't have any errors in log. I use this function to change due date depending on priority. I change priority and due date changes autimatocally. It worked earlier . But now due date doesn't change. I use JIRA Workflow Toolbox ver . 2.2.26, but it started from previous version.
I attached screenshot with my settings . Maybe I should change something.
Thank you!
Comments (12)
-
repo owner -
repo owner Any update on this issue?
-
reporter I tried and new comment wasn't added. I don't have errors in the log.
I attached screenshot with my settings. I use version 2.2.26. and JIRA 6.4.3
-
reporter - attached AddOn.png
- attached Priority.png
-
repo owner Please, try the following modification:
- 1) Set target field to New comment
- 2) Setting rules:
(Blocker)Blocker Priority: %{00017} (Critical)Critical Priority: %{00017} (Major)Major Priority: %{00017} (Minor)Minor Priority: %{00017} (Trivial)Trivial Priority: %{00017} (.*)Priority: '%{00017}'
Please, let me know the comment you are obtaining.
-
reporter Now it works. I attached file with comments
-
reporter - attached New_SH.png
-
repo owner The problem you are experiencing is due to the fact that your priorities are translated, and you are using non-translated values in the setting rule. The values that the plugin uses is the translation for the default language in your server, this way it doesn't depend on the language of the currently logged user.
Please, replace Blocker, Critical, etc. in your original setting rules, with the corresponding translated names.
-
reporter Thank you a lot! I added translate for priority and now it's ok. Did you add translate with new version?
-
repo owner There was a modification on the value returned by Resolution on version 2.1.20, released on 2014-08-15 (quite long time ago).
Maybe you updated from a very old version of the plugin.
-
reporter ok, thank you! I don't know why it worked earlier, I update version every time.
-
reporter - changed status to resolved
- Log in to comment
The screenshot you have attached is of a quite old version since it lacks "Check Syntax" button and cursor position information.
I recommend you to update to version 2.2.26.
Let's do some debugging. Please, do the following tests:
TEST 1:
1) Set target field to New comment.
2) Execute once the transition with the post-function, and let me know the comment you have obtained.
TEST 2:
1) Set target field to New comment.
2) Replace your current setting rules with these ones: