It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

while preparing data we can assign variable to description


3 answers

1 accepted

0 votes
Answer accepted

I think we need more information

What is "preparing data"?

What "variable" and where would it come from?

I assume "assign to description" means "put content of variable in the description field"?  Would that need to be the whole description or part of it?

For creating issue using rest api, how to send attachment field through post request.

$data = array(

'fields' => array(

'project' => array(

'key' => $key,


'summary' => ''.$ROW['bugs'][0]['what'],

'description' => $ROW['bugs'][0]['why'].$ROW['bugs'][0]['how'],
"issuetype" => array(
"name" => $ROW['bugs'][0]['issue'],


this how i'm trying, but 'm not able to create issue in jira.

0 votes

I'm sorry, but that's just a block of code, out of any context, and with no error message or explanation of what it's doing or how. The best I can do is tell you that your code is not sending the right data to JIRA for the creation (I assume it's a REST call)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,751 views 8 2
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you