Hi
i am currently building an app using forge.I want to create an issue in jira using product rest api.
i tried using the payload given in forge rest api documentation but i am getting 400 bad request
errors: {
parent: 'Could not find issue by id or key.',
components: "Field 'components' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_20000: "Field 'customfield_20000' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_40000: "Field 'customfield_40000' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_70000: "Field 'customfield_70000' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_10000: "Field 'customfield_10000' cannot be set. It is not on the appropriate screen, or unknown.",
fixVersions: "Field 'fixVersions' cannot be set. It is not on the appropriate screen, or unknown.",
priority: "Field 'priority' cannot be set. It is not on the appropriate screen, or unknown.",
timetracking: "Field 'timetracking' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_30000: "Field 'customfield_30000' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_80000: "Field 'customfield_80000' cannot be set. It is not on the appropriate screen, or unknown.",
environment: "Field 'environment' cannot be set. It is not on the appropriate screen, or unknown.",
security: "Field 'security' cannot be set. It is not on the appropriate screen, or unknown.",
versions: "Field 'versions' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_60000: "Field 'customfield_60000' cannot be set. It is not on the appropriate screen, or unknown.",
duedate: "Field 'duedate' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_50000: "Field 'customfield_50000' cannot be set. It is not on the appropriate screen, or unknown."
}
can anyone help me in this to create a issue using product rest api in forge app with proper payload including issue type,summary,description,attachment etc..
thanks in advance
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Jira Administrator
Configure Jira Software, Jira Core, or Jira Service Management, including global settings, permissions, and schemes.
Managing Jira Projects Cloud
Learn to create and configure company-managed projects in Jira Software and partner effectively with Jira Admins.
Learning Path
Become an effective Jira Software Project Admin
This learning path is designed for team leaders who configure Jira Software projects to match a team's processes.