Forums

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

field permission screen submit via Confluence Confiforms

Greg Clark January 4, 2023

 

 

 

Similar issue to some observed previously. None of previous answers worked. 

Basic  - We have a Confluence Form that submits via API to JIRA project. Submission works fine with base fields and JIRA ticket is created properly. However, we have a custom field (userEmail in images), and when trying to submit the from to include this field we get permission error (or unknown).

 

Previous questions like this seem to be resolved by ensuring field is on the screens (as far as I can tell) . In the images attached, it appears that this field is present where it needs to be.

 

What is missing here?

 

JIRA_defaultscreen.png

JIRA_PR_CreateISSUE.png

 

 

JIRA_Error.pngJIRA_field_present.png

 

What is missing here?

 

 

 

1 answer

1 accepted

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
January 4, 2023

Hi

Custom fields in Jira have names like customfield_XXX

You need to check the actual name for this field - not the label

This should help https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-discovering-meta-data-for-creating-issues-6291669/

Alex

Greg Clark January 4, 2023

Thanks Alex,

This has saved me a lot of time, I had no clue that there was an id different from name/label here.

 

For my future reference (and others maybe), in order to get the id, I just created an issue in JIRA, downloaded the XML to find the ID.

 

JIRA_fieldId.png

Suggest an answer

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

Atlassian Community Events