how to use the components and custom field mappings parameter in createIssue in JJUPIN


I created a sil to automate creation of a lot of subtask with a lot of custom fields.

Upon creating issue i wish to include the values of all custom_fields during createIssue call, this is to minimize the logs in the activity stream.


Currently i used below statement, can i use the components/custom_fields_mappings parameter of createIssue to do this?

%issueKey%.CustomField = Value;





1 answer

1 accepted

1 vote
Accepted answer

You have an example here:


Have fun,


Hi Radu, already seen that actually, cant figure out how to use components and custom_fields_mapping. issue_components = components; //an array containing all the components of the current project are components custom_fields? how do we use this? cant find any example. custom_fields_mapping = "STDUP|fmanaila|STDGP|jira-users"; STDUP= is this a Jjupin alias? fmanaila| = is this the string value? Regards,

Yes, you're right: pairs of CF name / alias followed by value. This does not work for multi-value fields. We have in mind to add an overloaded createIssue to make the creation easier.

I'm just looking at the documentation and I'm wondering do I need to pass values (most likely null values) for priority, description, components, due date, estimate and security level before my customfield mappings, or can JIRA figure out that the value after summary is the customfield mappings and not priority?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

457 views 8 27
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you