Hey team!
We are using a form with external automation to have scripts do user creation in a separate system.
For the last year it has worked flawlessly, but today we encountered an error, where the Email type field has changed it's ID from 33 to an unknown value. Which halts the script execution.
How can I check what is the new ID of this field?
We haven't made changes to the form itself for more than a month and it worked great.
What could cause this Field ID to change?
Officially, Atlassian documents that every time a form is added, re-published, or cloned, a new form association ID is created for that issue. You can confirm the current field or form ID via the REST API:
That will return the live IDs for the form and its fields on that issue.
(Reference: Atlassian Support – How to find the correct form ID)
If you haven’t edited the form recently, the most likely cause is a form re-publish or backend update that refreshed metadata and changed the internal IDs.
To fix it, use the API call above to retrieve the current field ID and update your automation to reference that one. Unfortunately, JSM doesn’t currently notify users when field IDs change.
Hope that clears it up and gets your automation working again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.