Adding current user to multi-user-picker field does not work
Hello,
i want to add the current user to the multi-user-picker custom field "Vertretung (zugesagt)".
My post function looks like this:
The following text parsed in basic mode will be copied to Vertretung (zugesagt): + %{Current user} This feature will be run as user in field Current user.
But when the transition is made the field stays empty, if it already has an entry it gets emptied.
The field is in the edit mask for the issue and i can fill it manually.
I do trigger the transition using the approval feature of JIRA Service Desk.
How can i make this work?
kind regards Jens
Comments (20)
-
repo owner -
reporter Hey, we are using the field provided from JIRA, not a 3rd Party one. I will get the screenshot on Monday, i dont have access to the system ATM. But to my memory the only thing i changed is raising a custom event instead of generic event.
-
reporter Oh hey i still had a screenshot on my desktop, its in german but it prooves my assumption there are no other non-standard post-functions
-
repo owner It should work.
Which version of JIRA and JWT are you using?
-
reporter i upgraded JWT today to the most recent version. JIRA is a 7.3, im not sure which minor version.
-
repo owner Hi @jkisters,
I have tried the same functionality on JIRA 7.3.8 with JWT 2.2.42 and it works as expected.
The behavior you are experimenting can be explained if "Vertretung (zugesagt)" is a User Picker instead of a Multi-User Picker. Please, check it.
-
reporter Hello,
i have checked this and the field is a Multi-User Picker:
-
repo owner Hi @jkisters,
I would like to see the failure in direct. Can we have a screen-share through Skype? I can be available today from 16:00 to 17:30 UTC, or tomorrow from 8:00 UTC to 13:00 UTC. My Skype user is fidel100r.
-
reporter Good Morning Fidel,
can we try it at 9:30? If i read my Calendar correctly 9:30 CET is the same as 9:30 UTC? It is now 8:14 CET.
kind regards Jens
-
repo owner Now, is 9:19 UTC, 10:19 CET, 11:19 Madrid, Paris, Berlin time. Can we have a meeting at 10:00 UTC?
-
reporter Hi Fidel, i could make 12:00 UTC, would that work for you? If you come online in skype we can find a time via chat, i already have you in my list (j.kisters@aptis.info) Cheers Jens
-
repo owner Ok, let's meet at 12:00 UTC.
-
repo owner Hi @jkisters,
I have tried a scenario similar to yours:
- JSD 3.6.4
- JIRA Core 7.4.3
- Trying to add current user to a multi-user custom field by executing transition through Approve button in JSD Portal.
- The user that pushes button Approve is an ordinary JIRA user in one case, and a JIRA customer in another case.
In both cases, i.e., ordinary JIRA user and JIRA customer, the Multi-User Picker custom field is correctly populated.
I don't have any idea about the cause of your problem. We can have a new screen-share tomorrow, maybe once that I have reproduced your same configuration, I will be able to see the cause of the problem.
-
reporter Hi Fidel,
wow you are working late! I could arrange a session between now and 9:00 UTC or in the afternoon.
kind regards Jens
-
repo owner Hi @jkisters,
I will can be available since 13:30 UTC to 17:00 UTC. At what time can we have the meeting?
-
reporter Lets meet at 13:30 UTC
-
repo owner At 13:45 UTC, please.
-
reporter Roger that.
-
reporter The Status was marked with jira.issue.editable in the workflow. This seems to have caused the post function to stop working when called from the JSD Portal, when the transition was triggered in JIRA without JSD the value was changed even though jira.issue.editable was set to false
-
reporter - changed status to resolved
- Log in to comment
Is "Vertretung (zugesagt)" an ordinary Multi-User Picker, or is a field provided by a third party add-on?
Please, attach a screenshot of the post-function's tab. I want to see all the post-functions you are executing.