How do I remove a selection from a list in my component/s field?

Liam Maeder
Contributor
September 19, 2018

I have a list of components but i only want to remove one selection:

I have used a pre-condition to evaluate if the option is present in the field and then to update to blank. Every time i have tried to run this it gives an error saying that it is an illegal action.

Is there any way to verify that the component/s field has the value and to remove it without clearing all the other options? Preferably without having to purchase an add-on as i do not have authorization to do so from my work place.

Thanks

3 answers

0 votes
Liam Maeder
Contributor
September 25, 2018

I managed to find a way of doing this but only if the criteria are limited to 2 options, true or false. With this i could either add to or clear the field.

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 19, 2018

Hi @Liam Maeder

Ok i get it, so for me you will need an addon like i said above. Let me check if its possible without, inside the workflow but im not sure.

Regards

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 20, 2018

Hello @Liam Maeder

I tested it and it is no possible to edit a component inside the workflow who can only edit those values.

Capture.PNG

 

 

So you will need an addon to do exactly what you want

 

Regards

Liam Maeder
Contributor
September 25, 2018

Thanks for the help. I will give your suggestion a try.

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 19, 2018

Hi @Liam Maeder

Why you don't delete the concerned component from you project setting? it will not be able to users to choose it if it deleted.

If you can you will need add on to check the value of the field like Scriptrunner

Regards

Liam Maeder
Contributor
September 19, 2018

Hi @Mohamed Benziane

I only want to remove the component/s if the car or ticket is moved through a certain transition, not completely.

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events