The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I'm trying to add a post function that creates multiple issues using a seed JQL, and from that seed JQL I'm copying some fields to the resulting issues.
I'm facing two errors at this point:
1) Updating a field of type User Picker (single user), I'm not able to use a parser expression to get the first user from a list, but it works if I just copy a field from the current issue, like reporter. My parser expression is:
first([%{Parent's multi-user-picker-field (Seed)}, %{Parent's different-multi-user-picker-field (Seed)}])
The parser expression validates and returns a result correctly if I'm testing within the post function itself, but on ticket creation I get the following error:
We can't create this issue for you right now, it could be due to unsupported content you've entered into one or more of the issue fields. If this situation persists, contact your administrator as they'll be able to access more specific information in the log file.
2) Updating a field of type Single Issue Picker, I can copy the same field from the current issue to the same field in the created issue, however, I'm trying to copy the issuekey of the seed issue. I should note that the single issue picker field uses a JQL for a valid list, and the seed is part of that JQL and I can select it manually.
For the second issue, the initial ticket gets created, but not the ticket from the post function.
Any guidance on what I may be doing incorrectly here would be greatly appreciated!
Your configuration is correct, however you have encountered two different problems which I will proceed to explain one by one:
^%{parent.aaaaa}
Where aaaaa would be your User picker (multi) field code.
Besides, I would recommend you using the following expression instead, which is less error-prone because it uses some of our parser functions.
first(union(toStringList(^%{parent.aaaaa}), toStringList(^%{parent.bbbbb})))
However, I can confirm that both this bug and this new feature are already being work on and their fixes will be released as soon as possible.
In the screenshot below you can see an example on how the post-function could look like.
I hope this helps.
Cheers,
Sergio.
Thank you so much @Sergio del Pino _Decadis AG_ ! I appreciate the detailed response. Is there a ticket I can follow for the fixes being released please?
Thank you,
Pierre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We do not have an external ticket for the fixes, however, if you want I can let you know when they are being released right in this ticket.
Although I would recommend you to create a ticket in our customer portal letting us know about both of this errors, where it will be easier for us to let you know about the releases.
Cheers,
Sergio.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sergio del Pino _Decadis AG_ ,
I'll go ahead and create a ticket.
Would you mind letting me know what the release date will be as well please?
Thank you
Pierre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity. Atlassian:...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.