I need the Jelly script to create issues using custom fields

HI There,

I was trying to create the jelly script to import the issues in JIRA4.4.4 . in folowiing format. Please note that my project already have custom fields created i need to input data in it. I did follow the docs by atlassian but couldnt figure out much in this {

<jira:AddCustomFieldValue id="customfield_10000" value="field value"/>
<jira:AddCustomFieldValue name="Environment Select list" value="Windows XP"/>
Can some on ehelp me to understand what are above filed and since i lready have my customfields and their value exists , how can i use it in below example}

The script i am runing is below:

<jira:CreateIssue project-key="MFL" issueType="Bug" priority="3. Major" component="Design Link" versions="test" reporter="morety" summary="holes in the mesh on a specific model" created="2009-11-26 00:00:00" description="test description" Enviroment="Platform: Windows XP" issueKeyVar="keyvar"
<jira:AddCustomFieldValue name="Documentation Link" value="link://http:google.com"/> <jira:AddCustomFieldValue name="Issue Frequency" value="Always"/>

<jira:AddCustomFieldValue name="Platform" value="Windows XP x64,Windows 7 x64"/>

<jira:AddCustomFieldValue name="Build Number" value="Version: Not 2011Build: 09476-001"/>

<jira:AddCustomFieldValue name="Issue Source" value="QA"/>

<jira:AssignIssue key="${keyvar}" assignee="xyz" />

I hit some random error for which i couldnt find any help so far.

I would really appriciate if some can help me on this.

Thank You


2 answers

This widget could not be displayed.

I am getting following error "java.io.IOException: expected '=', got 'j'

This widget could not be displayed.

Use the id instead of the name. (name says deprecated)

  • Also priority seems to be wrong. Give only "Major"
  • You dont have a closing '>' tag for jira:CreateIssue
  • And I couldn't see the tag </jira:CreateIssue>

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

551 views 25 15
Join discussion

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