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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,468
Community Members
 
Community Events
184
Community Groups

Forge API returns 400 on reporter field for create issue

I've created a forge app. When I test in development in can successfully create an issue and set the reporter field. When I run it in production it fails with 400.

```

{"errorMessages":[],"errors":{"reporter":"Field 'reporter' cannot be set. It is not on the appropriate screen, or unknown."}}%
```
I've checked my screen scheme and both Create and Edit view use the same one and Reporter is added.
I've also updated the permissions of my app to give my app the permissions to 

  • Create issue
  • Edit issue
  • Modify reporters

I'm at a loss now as to why this doesn't work- compounded by the fact that it works in dev but not in prod.

 

I'm calling the api like so and setting the fields with

reporter being set as:

reporter: {
id: <account-id>
},

```

await api.asApp().requestJira(route`/rest/api/3/issue`, {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify(fields)
});

```

0 answers

Suggest an answer

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

Atlassian Community Events