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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

479 views 5 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you