Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,237
Community Members
 
Community Events
168
Community Groups

Automation on field "testEnvironments"

Hi,

we are trying to automate the field "testEnvironments" a native field presented in the issuetype "Test Execution" but is not possible. In the "Additional fields" we're trying the following JSON:

{
"fields": {
"testEnvironments": [{
"add": "Patch"}]
}
}

Anyone have an idea to resolve this problem?

Thank you!

1 answer

0 votes
Velizar Borisov Community Leader Feb 17, 2021

Hi Joana!

I would recommend you to either use the customfield id  (e.g. "customfield_19132") instead of "testEnvirontments" or to use the update function when using JSON:


"update": {
"Text field": {
"set": "a new description"
},
"labels field": [{
"add": "test-label"
}]
},

 Please have in mind. that text custom fields use "set" and for labels custom fields you will have to use "add".

Suggest an answer

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

Atlassian Community Events