[JIRA] (JENKINS-57630) Support Multi User Picker custom field parameter mapping

13 views
Skip to first unread message

wisen@ceilfors.com (JIRA)

unread,
May 25, 2019, 4:18:02 PM5/25/19
to jenkinsc...@googlegroups.com
Wisen Tanasa updated an issue
 
Jenkins / Bug JENKINS-57630
Support Multi User Picker custom field parameter mapping
Change By: Wisen Tanasa
Summary: How to Support Multi User Picker custom field parameter mapping Custom Field key in JIRA trigger plugin
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

wisen@ceilfors.com (JIRA)

unread,
May 25, 2019, 4:18:03 PM5/25/19
to jenkinsc...@googlegroups.com

deakey@gmail.com (JIRA)

unread,
May 26, 2019, 8:41:03 AM5/26/19
to jenkinsc...@googlegroups.com
Deakey Tan commented on New Feature JENKINS-57630
 
Re: Support Multi User Picker custom field parameter mapping

Yes, it's "User Picker (multiple users)". And I have read CustomFieldParameterResolverTest file, confirm that I can't use it now. 

wisen@ceilfors.com (JIRA)

unread,
May 26, 2019, 10:01:02 AM5/26/19
to jenkinsc...@googlegroups.com

Thanks for the confirmation. I've converted this issue as a new feature. Feel free to contribute!

For a workaround, you can always use the injected JIRA_ISSUE_KEY environment variable, then hit JIRA and get the information by yourself.

deakey@gmail.com (JIRA)

unread,
May 29, 2019, 7:11:02 AM5/29/19
to jenkinsc...@googlegroups.com

Oh, sorry for late, I have resolve this case, use the script to extract the data I need, but I am still looking forward to your new features.

Many thanks

wisen@ceilfors.com (JIRA)

unread,
May 29, 2019, 4:50:02 PM5/29/19
to jenkinsc...@googlegroups.com

Deakey Tan Can you help share the solution / script that you're using here? It'll be very helpful for the community if they come across a similar requirement.

deakey@gmail.com (JIRA)

unread,
May 30, 2019, 6:58:02 AM5/30/19
to jenkinsc...@googlegroups.com

Yes. In fact, after we set up Custom Field, we will get a result like "aaa, bbb", so I used a shell script to add a mailbox suffix to them.(Because I use Execute Shell to build)

array_user_email=($1)
for element in ${array_user_email[@]};
do user_email=$(echo $element"@yourdomain.com"|sed 's/,//g')

 

wisen@ceilfors.com (JIRA)

unread,
May 30, 2019, 5:14:04 PM5/30/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages