Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

I'm using JIRA cloud. Trying to use the API to create JIRA issues, but I got following error when I Edited

{"parameters":{},"headers":{"X-Atlassian-Token":"no-check","x-allow-cross-system":1,"Authorization":"BearerToken XXXX","Content-Type":"application/json","username":"mallikarjun.surimilla@adventglobal.com","password":"tokenvalue"},"data":{},"body":{"issue":{"fields":{"project":{"key":"ANS"},"summary":"REST API from Server Script.","description":"Creating of an issue using project keys and issue type names using the REST API","issuetype":{"name":"Bug"}}}},"json":true}
2020-10-01T18:56:35.044Z - error: Error in request: Request failed with status code 400
Script 'connectJira' aborted with exit code null and signal 'SIGINT'. { success: false, e: {} }

 

where i am able to connect using Postman and able to create an issue.

1 comment

Hi @Mallikarjun 

Please can you let us know how you're posting this request via curl, postman or otherwise?  And what's the actual request you're sending and to which endpoint?

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

184 views 3 8
Read article

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