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

Hi, 

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;

 

 

Thanks,

 

1 answer

1 accepted

This widget could not be displayed.

You have an example here: https://confluence.kepler-rominfo.com/display/SIL30/createIssue

 

Have fun,

Radu

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 Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

428 views 3 17
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