Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Add manual test steps for Xray in Jira automation rule

Christopher Dick July 24, 2024

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

2 answers

1 vote
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 25, 2024

Hi @Christopher Dick 

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 

0 votes
Adolfo Casari
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 24, 2024

@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

Christopher Dick July 24, 2024

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events