I have two customfields of same type and same options, but one of them is hidden in all screens.
Now if a non-hidden customfield's option is selected, the hidden field should also be set with its respective option.
If you want the field to change without a workflow transition or client side JS, using Event listeners is the only remaining option I can think of.
You can configure it to listen for the Issue Updated event and take whatever action you wanrt.
You may not be able to change the value of a hidden field, but if it is possible the JIRA Behaviors Plugin is the way to do it.
if the field are select list then you can try with following code
add above script on second field description in field configuration
Thanks for the answer, but using script make the browser compatible problems.
Is there any kind of functionality(like postfunction) which run exactly after a customfield is updated?
or by means of any plugin(like implementing cascade customfields) can we achieve this?
You are correct - you can't do post-functions on Edit.
This is why Chaithra said "don't have the edit operation". You remove the edit permission from the project, and create transitions in the workflow called "edit" which go back to the current status.
You can only have post function at Workflow transtion & not on the updates of customfield.
Other options are,
But I personnally feel Workflow is much easier.
I got little idea on this. But rather moving to workflow changes, is there any kind of post functionality executed immediately after the customfield is checked/selected and before the update button is pressed on edit screen?
If at all exists, please help in that concern.
I feel like we're repeating ourselves here. We both keep telling you there are no post-functions on Edit. Then you ask the same question again.
Please re-read Chaithra's detailed answers again, mine are just "there are no post-functions on Edit", and Chaithra gives you the options I'd suggest already
Hi @Nic @Chaitra
I try to use listener approach.
For issue creation: ISSUE_CREATED
For issue updation: ISSUE_UPDATED event types exist.
Now the ISSUE_UPDATED event is generated for updations using issue panels also.But is there any event specific to issues updating from edit screen itself?
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG