Hi,guys!
I need some help with the case.
I tried to implement post - function by JMWE (v 6.4.0) add-on in Jira Software Server (v.8.5.12) and bumped into some confused situation.
Use case.
Post-function should create multiple issue for diffrent Assignee based on values from Approvers - customfield (multi user picker field)
Result
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.
Transition (without validator)
Post-function looks like so
Logs
Somebody have any suggestions where is my mistake ?
you just need to update your Iterator script to:
issue.get("customfield_15002")
This will return a list of ApplicationUser objects, which is how Jira represents users internally.
@David Fischer thank for reply
I tried in different way.
When i did iterator without username the result return the same problem
I reproduce the error and sent logs file in request that i did
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Aleks ,
I see two problems in the configuration:
1. to avoid errors when the Approvers field is empty, use this iterator script:
issue.get("customfield_15002") ?: []
2. For the Assignee field, either choose the "Set field value to Groovy Expression" option and use this value:
it
or with the "Set field value to Constant or Groovy template" option, use this value:
$it.name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We see you have raised a request for this issue in our Innovalog customer support portal : https://innovalog.atlassian.net/servicedesk/customer/portal/8/SJMWE-2558.
Please share with us the below information, as requested in the support ticket :
Thanks,
Suprija
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.