Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add a custom field through the Jira API using Forge?

davidbrijak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 15, 2024
Hi!
My team are developing a Jira plugin using Forge, which we have successfully deployed to Jira Cloud. While backend API calls via Forge are functioning correctly, we are encountering difficulties in assigning custom fields to issue types.
In our manifest, we have specified the following scopes for Jira:
  • read:jira-work
  • write:jira-work
  • manage: jira-configuration
We attempted to use the following API to assign custom fields:
Although we do not receive an error, the fields are not being added to the issue types as expected. We suspect that we might be using the wrong endpoint, but we haven't been able to pinpoint the exact issue.
Could you assist us with this, or possibly suggest the correct method to assign fields?
Thank you very much in advance for your help!
Best regards,
David

1 answer

0 votes
Anandhi Arumugam _Cprime_
Community Champion
August 15, 2024

Hi @davidbrijak Could you please check your contextId and issue type ID if there are correct? Also, please try this from postman to see if you can see a response there?

Suggest an answer

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

Atlassian Community Events