Hello there,
when executing an automation rule in Jira to add Xray test steps to a test, the following error message appears: "Unknown fields set during creation. These may not be available for the project/type. Check your configuration for custom fields. Fields ignored - Epic Name (customfield_10004)."
The JSON template from the Xray documentation was used: https://docs.getxray.app/display/XRAY/Tests+-+REST
Probably a different number was used for customfield_10004 in our Jira cloud. How can we find out this number?
Best regards,
Christopher
The docu link provided in your original post links to Server-DC. According to your description you are running on cloud.
Jira actions (like creating issues) and XRAY actions (like adding test steps) are handled in different APIs therefore would need 2 different API calls.
In XRAY I guess it´s best done with the GraphQL API:
https://us.xray.cloud.getxray.app/doc/graphql/addteststep.doc.html
Best
Stefan
any further input from your side? Even if your requirement could not be solved here would you be so kind to accept any answer in order to mark this question as solved (as there is no possibility at the moment).
Additionally I recommend to reach out to the vendor support:
https://www.getxray.app/contact-us
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please be so kind to give feedback to your posts/questions so that questions can be closed/resolved.
Thanks in advance.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Christopher Dick ,
the test steps information is exposed as a custom field in Xray for Jira server/dc. However, in Xray cloud that information is managed internally by Xray and cannot be managed through a custom field.
What you want may be achieved through automation but requires invoking the graphql API for that, namely the addTestStep mutation.
There's a tutorial provided by Xray that shows some examples of using Xray together with Jira automation, for example for adding test steps. Please have a look at it as it provides exactly what you're looking for. I
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Christopher DickCan you share a screenshot with the automation?
To find a customfield id:
https://confluence.atlassian.com/jirakb/how-to-find-any-custom-field-s-ids-744522503.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Xray does not use the standard Jira fields. Within the test details, the Xray fields for test steps are displayed/embedded similar to an iFrame. No information about the test step fields can be retrieved using the browser's Explore function or a JQL query. Unfortunately, I cannot generate screenshots from the system environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.