I have SIL's that do a lot of backgroud task and to keep them portable I have been using aliases for custom fields.
Now I am required to write some validation (to be more precise, change in set of field required based on another field) and I think live field is what I need here. But I am unable to understand how would I use custom field aliases here. Can someone please provide an example to do this?
Also. Is it possible to attach validation to Issue Created and Issue updated event? Is there an example available for that? (I have not been able to find anything on the JJUPIN or SIL documentation pages.)
1. Yes, you should be able to use the aliases in LF. Give it a try :)
2. Nope, listeners are fired when postfunction is run (look at the WF). It is too late. You can add validators, though.
Also, I am unable to disbale the createButton in the live field callback script. I have tried:
lfDisable("issue-create-submit");//Using field Id
lfDisable("Create"); // Using field name
My validation script works fine for Edit and Transition pages, but not on create because of this. Any hint?
@FlorinFurther to the issue with the Create button.
I have created 2 scripts. 1 to disable and another to enable the create button using:
They work fine on a Create Issue page, but fail to work on a Create Issue dialog. So the question now is, does the file added via lfExecuteJS("enable-create.js"); embeded when a Create Issue dialog is loaded?
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
One of the newest products in the Microsoft family - Microsoft Teams, is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...
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