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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Create Issue with Form data using API

Hi, I have a JIRA Project where the setup is when the user creates an issue, they input data into the form from the portal. This form is then attached to the ticket, so I guess technically it's not in the same "screen"? 

Now when I use the get issue API for this ticket, it returns the customfields and their value, but when I try to create an issue using the POST API, it returns the error:

Field 'customfield_10222' cannot be set. It is not on the appropriate screen, or unknown.
I have tried looking for documentations related to forms API and the post issue API.
I have tried looking at forms API as well but it doesn't look like there's an API to submit a new form on a new issue.

1 answer

1 accepted

0 votes
Answer accepted

Update: It looks like the servicedesk REST API has what I need. So i'll be looking into that.

https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/ 

So the answer to my question was POST /rest/servicedeskapi/request.

My only issue is the format of the "users" object in the form object.

according to the documentation the format is 

"qm:a713c8ea-1075-4e30-9d96-891a7d181739:5ad6d69abfa3980ce712caae"

I am assuming the first half is the cloud id since that matches the format...

and the second half is the user id.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events